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
(TextureAtlasSprite p_111662_, 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_, TextureAtlasSprite p_111641_) 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_111429_, List<BlockElement> p_111430_, Map<String, com.mojang.datafixers.util.Either<Material, String>> p_111431_, boolean p_111432_, BlockModel.GuiLight p_111433_, ItemTransforms p_111434_, List<ItemOverride> p_111435_) -
Uses of BlockElement in net.minecraftforge.client.model
ModifierConstructorDescriptionElementsModel
(List<BlockElement> elements) private
ElementsModel
(List<BlockElement> elements, boolean deprecatedLoader) -
Uses of BlockElement in net.minecraftforge.client.model.generators
Modifier and TypeMethodDescription(package private) BlockElement
ModelBuilder.ElementBuilder.build()
-
Uses of BlockElement in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionstatic List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemElements
(int layerIndex, TextureAtlasSprite sprite) Creates a list of block elements in the shape of the specified sprite.static List<BlockElement>
UnbakedGeometryHelper.createUnbakedItemMaskElements
(int layerIndex, TextureAtlasSprite sprite) Creates a list of block elements in the shape of the specified sprite.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.