Uses of Class
net.minecraft.client.renderer.block.model.BlockElement
Package
Description
-
Uses of BlockElement in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionBlockElement.Deserializer.deserialize
(com.google.gson.JsonElement p_111329_, Type p_111330_, com.google.gson.JsonDeserializationContext p_111331_) Modifier 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_) Modifier and TypeMethodDescriptionstatic BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) ModifierConstructorDescriptionBlockModel
(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
Modifier 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.Modifier 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
-
Uses of BlockElement in net.neoforged.neoforge.client.model.generators
Modifier and TypeMethodDescription(package private) BlockElement
ModelBuilder.ElementBuilder.build()
-
Uses of BlockElement in net.neoforged.neoforge.client.model.geometry
Modifier 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.Modifier and TypeMethodDescriptionstatic BakedQuad
UnbakedGeometryHelper.bakeElementFace
(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState state, ResourceLocation modelLocation) Turns a singleBlockElementFace
into aBakedQuad
.Modifier 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.