Uses of 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> BlockModel.elements
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 List
<BlockElement> ItemModelGenerator.createSideElements
(SpriteContents pSprite, String pTexture, int pTintIndex) protected List
<BlockElement> BlockModel.Deserializer.getElements
(com.google.gson.JsonDeserializationContext p_111507_, com.google.gson.JsonObject p_111508_) BlockModel.getElements()
Deprecated.org.apache.commons.lang3.mutable.MutableObject
<BlockElement> BlockElementFace.parent()
Returns the value of theparent
record component.ItemModelGenerator.processFrames
(int pTintIndex, String pTexture, SpriteContents pSprite) Methods in net.minecraft.client.renderer.block.model with parameters of type BlockElementModifier and TypeMethodDescriptionstatic BakedQuad
BlockModel.bakeFace
(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pState) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockElementModifierConstructorDescriptionBlockElementFace
(Direction cullForDirection, int tintIndex, String texture, BlockFaceUV uv, ExtraFaceData faceData, org.apache.commons.lang3.mutable.MutableObject<BlockElement> parent) Creates an instance of aBlockElementFace
record class.BlockModel
(ResourceLocation pParentLocation, List<BlockElement> pElements, Map<String, com.mojang.datafixers.util.Either<Material, String>> pTextureMap, Boolean pHasAmbientOcclusion, BlockModel.GuiLight pGuiLight, ItemTransforms pTransforms, List<ItemOverride> pOverrides) -
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
Fields in net.neoforged.neoforge.client.model with type parameters of type BlockElementConstructor parameters in net.neoforged.neoforge.client.model with type arguments of type BlockElement -
Uses of BlockElement in net.neoforged.neoforge.client.model.generators
Methods in net.neoforged.neoforge.client.model.generators that return BlockElementModifier and TypeMethodDescription(package private) BlockElement
ModelBuilder.ElementBuilder.build()
-
Uses of BlockElement in net.neoforged.neoforge.client.model.geometry
Methods in net.neoforged.neoforge.client.model.geometry that return types with arguments of type BlockElementModifier and TypeMethodDescriptionstatic List
<BlockElement> UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedGeometryHelper.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> UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) static List
<BlockElement> UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite, @Nullable ExtraFaceData faceData) Creates a list of block elements in the shape of the specified sprite contents.Methods in net.neoforged.neoforge.client.model.geometry with parameters of type BlockElementModifier and TypeMethodDescriptionstatic BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state) Turns a singleBlockElementFace
into aBakedQuad
.Method parameters in net.neoforged.neoforge.client.model.geometry with type arguments of type BlockElementModifier and TypeMethodDescriptionUnbakedGeometryHelper.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
UnbakedGeometryHelper.bakeElements
(IModelBuilder<?> builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a model builder.