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.elementsThe field for theelementsrecord component.private final org.apache.commons.lang3.mutable.MutableObject<BlockElement> BlockElementFace.parentThe field for theparentrecord component.Methods in net.minecraft.client.renderer.block.model that return BlockElementModifier and TypeMethodDescriptionBlockElement.Deserializer.deserialize(JsonElement pJson, Type pType, JsonDeserializationContext pContext) 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 theelementsrecord component.org.apache.commons.lang3.mutable.MutableObject<BlockElement> BlockElementFace.parent()Returns the value of theparentrecord 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 BakedQuadSimpleUnbakedGeometry.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 QuadCollectionSimpleUnbakedGeometry.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 aBlockElementFacerecord class.SimpleUnbakedGeometry(List<BlockElement> elements) Creates an instance of aSimpleUnbakedGeometryrecord 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 voidUnbakedElementsHelper.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