Uses of Record Class
net.minecraft.client.renderer.block.model.BlockElement
Packages that use BlockElement
Package
Description
-
Uses of BlockElement in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model with type parameters of type BlockElementModifier and TypeFieldDescriptionprivate final List
<BlockElement> SimpleUnbakedGeometry.elements
The field for theelements
record component.private final org.apache.commons.lang3.mutable.MutableObject
<BlockElement> BlockElementFace.parent
The field for theparent
record component.Methods in net.minecraft.client.renderer.block.model that return BlockElementModifier and TypeMethodDescriptionBlockElement.Deserializer.deserialize
(com.google.gson.JsonElement p_111329_, Type p_111330_, com.google.gson.JsonDeserializationContext p_111331_) Methods in net.minecraft.client.renderer.block.model that return types with arguments of type BlockElementModifier and TypeMethodDescriptionprivate static List
<BlockElement> ItemModelGenerator.createSideElements
(SpriteContents pSprite, String pTexture, int pTintIndex) SimpleUnbakedGeometry.elements()
Returns the value of theelements
record component.org.apache.commons.lang3.mutable.MutableObject
<BlockElement> BlockElementFace.parent()
Returns the value of theparent
record component.static List
<BlockElement> ItemModelGenerator.processFrames
(int pTintIndex, String pTexture, SpriteContents pSprite) Methods in net.minecraft.client.renderer.block.model with parameters of type BlockElementModifier and TypeMethodDescriptionstatic BakedQuad
SimpleUnbakedGeometry.bakeFace
(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockElementModifier and TypeMethodDescriptionstatic QuadCollection
SimpleUnbakedGeometry.bake
(List<BlockElement> pElements, TextureSlots pTextureSlots, SpriteGetter pSprites, ModelState pModelState, ModelDebugName pDebugName) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockElementModifierConstructorDescriptionBlockElementFace
(Direction cullForDirection, int tintIndex, String texture, BlockElementFace.UVs uvs, Quadrant rotation, ExtraFaceData faceData, org.apache.commons.lang3.mutable.MutableObject<BlockElement> parent) Creates an instance of aBlockElementFace
record class.SimpleUnbakedGeometry
(List<BlockElement> elements) Creates an instance of aSimpleUnbakedGeometry
record class. -
Uses of BlockElement in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return types with arguments of type BlockElementModifier and TypeMethodDescriptionstatic List
<BlockElement> ClientHooks.fixItemModelSeams
(List<BlockElement> elements, TextureAtlasSprite sprite) Modify the position and UVs of the edge quads of generated item models to account for sprite expansion of the front and back quad.Method parameters in net.neoforged.neoforge.client with type arguments of type BlockElementModifier and TypeMethodDescriptionstatic List
<BlockElement> ClientHooks.fixItemModelSeams
(List<BlockElement> elements, TextureAtlasSprite sprite) Modify the position and UVs of the edge quads of generated item models to account for sprite expansion of the front and back quad. -
Uses of BlockElement in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model that return types with arguments of type BlockElementModifier and TypeMethodDescriptionstatic List
<BlockElement> UnbakedElementsHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedElementsHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.static List
<BlockElement> UnbakedElementsHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedElementsHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.Method parameters in net.neoforged.neoforge.client.model with type arguments of type BlockElementModifier and TypeMethodDescriptionUnbakedElementsHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedElementsHelper.bakeElements
(QuadCollection.Builder builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a quad collection builder. -
Uses of BlockElement in net.neoforged.neoforge.client.model.generators.template
Methods in net.neoforged.neoforge.client.model.generators.template that return BlockElement