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 declared as BlockElementFields in net.minecraft.client.renderer.block.model with type parameters of type BlockElementMethods 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 p_248810_, String p_111663_, int p_111664_) protected List
<BlockElement> BlockModel.Deserializer.getElements
(com.google.gson.JsonDeserializationContext p_111507_, com.google.gson.JsonObject p_111508_) BlockModel.getElements()
Deprecated.ItemModelGenerator.processFrames
(int p_111639_, String p_111640_, SpriteContents p_251768_) Methods in net.minecraft.client.renderer.block.model with parameters of type BlockElementModifier and TypeMethodDescriptionstatic BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type BlockElementModifierConstructorDescriptionBlockModel
(ResourceLocation p_273263_, List<BlockElement> p_272668_, Map<String, com.mojang.datafixers.util.Either<Material, String>> p_272821_, Boolean p_272676_, BlockModel.GuiLight p_273072_, ItemTransforms p_273480_, List<ItemOverride> p_273099_) -
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, ResourceLocation modelLocation) 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, ResourceLocation modelLocation) 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, ResourceLocation modelLocation) Bakes a list of block elements and feeds the baked quads to a model builder.