Package net.minecraft.data.models
Class BlockModelGenerators.BlockFamilyProvider
java.lang.Object
net.minecraft.data.models.BlockModelGenerators.BlockFamilyProvider
- Enclosing class:
BlockModelGenerators
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BlockFamily
private ResourceLocation
private final TextureMapping
private final Map
<ModelTemplate, ResourceLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomFence
(Block pFenceBlock) customFenceGate
(Block pCustomFenceGateBlock) donateModelTo
(Block pSourceBlock, Block pBlock) fullBlock
(Block pBlock, ModelTemplate pModelTemplate) fullBlockVariant
(Block pBlock) generateFor
(BlockFamily pFamily) private ResourceLocation
getOrCreateModel
(ModelTemplate pModelTemplate, Block pBlock) pressurePlate
(Block pPressurePlateBlock) private void
-
Field Details
-
mapping
-
models
-
family
-
fullBlock
-
skipGeneratingModelsFor
-
-
Constructor Details
-
BlockFamilyProvider
-
-
Method Details
-
fullBlock
public BlockModelGenerators.BlockFamilyProvider fullBlock(Block pBlock, ModelTemplate pModelTemplate) -
donateModelTo
-
button
-
wall
-
customFence
-
fence
-
customFenceGate
-
fenceGate
-
pressurePlate
-
sign
-
slab
-
stairs
-
fullBlockVariant
-
door
-
trapdoor
-
getOrCreateModel
-
generateFor
-