Package net.minecraft.client.data.models
Class BlockModelGenerators
java.lang.Object
net.minecraft.client.data.models.BlockModelGenerators
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic interfacestatic final recordstatic enumclass -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Consumer<BlockStateGenerator> static final Map<BlockModelGenerators.BookSlotModelCacheKey, ResourceLocation> final ItemModelOutputstatic final List<com.mojang.datafixers.util.Pair<Direction, Function<ResourceLocation, Variant>>> final Map<Block, TexturedModel> -
Constructor Summary
ConstructorsConstructorDescriptionBlockModelGenerators(Consumer<BlockStateGenerator> pBlockStateOutput, ItemModelOutput pItemModelOutput, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBookSlotModel(MultiPartGenerator pGenerator, Condition.TerminalCondition pCondition, VariantProperties.Rotation pRotation, BooleanProperty pProperty, ModelTemplate pTemplate, boolean pOccupied) voidaddSlotStateAndRotationVariants(MultiPartGenerator pGenerator, Condition.TerminalCondition pCondition, VariantProperties.Rotation pRotation) applyRotation(FrontAndTop pFrontAndTop, Variant pVariant) configureDoorHalf(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> pProperties, DoubleBlockHalf pHalf, ResourceLocation pLeftModelLocation, ResourceLocation pLeftOpenModelLocation, ResourceLocation pRightModelLocation, ResourceLocation pRightOpenModelLocation) voidcopyCopperBulbModel(Block pBulbBlock, Block pSourceBlock) voidcopyDoorModel(Block pDoorBlock, Block pSourceBlock) voidvoidcopyTrapdoorModel(Block pTrapdoorBlock, Block pSourceBlock) voidcreateActiveRail(Block pRailBlock) voidcreateAirLikeBlock(Block pAirLikeBlock, ResourceLocation pParticleTexture) voidcreateAirLikeBlock(Block pAirLikeBlock, Item pParticleItem) voidcreateAmethystCluster(Block pAmethystBlock) voidvoidcreateAnvil(Block pAnvilBlock) voidcreateAxisAlignedPillarBlock(Block pAxisAlignedPillarBlock, TexturedModel.Provider pProvider) static BlockStateGeneratorcreateAxisAlignedPillarBlock(Block pAxisAlignedPillarBlock, ResourceLocation pModelLocation) voidcreateAxisAlignedPillarBlockCustomModel(Block pAxisAlignedPillarBlock, ResourceLocation pModelLocation) voidcreateAzalea(Block pAzaleaBlock) voidcreateBambooModels(int pAge) voidcreateBanner(Block pBlock, Block pWallBlock, DyeColor pColor) voidvoidvoidvoidvoidcreateBeeNest(Block pBeeNestBlock, Function<Block, TextureMapping> pTextureMappingGetter) voidvoidvoidstatic PropertyDispatchcreateBooleanModelDispatch(BooleanProperty pProperty, ResourceLocation pTrueModelLocation, ResourceLocation pFalseModelLocation) voidvoidcreateBrushableBlock(Block pBlock) static BlockStateGeneratorcreateButton(Block pButtonBlock, ResourceLocation pUnpoweredModelLocation, ResourceLocation pPoweredModelLocation) voidvoidvoidcreateCampfires(Block... pCampfireBlocks) voidcreateCandleAndCandleCake(Block pCandleBlock, Block pCandleCakeBlock) voidvoidvoidvoidcreateChest(Block pChestBlock, Block pParticleBlock, ResourceLocation pTexture, boolean pUseGiftTexture) voidvoidvoidvoidvoidvoidcreateColoredBlockWithRandomRotations(TexturedModel.Provider pModelProvider, Block... pColoredBlocks) voidcreateColoredBlockWithStateRotations(TexturedModel.Provider pModelProvider, Block... pColoredBlocks) voidcreateCommandBlock(Block pCommandBlock) voidvoidvoidcreateCopperBulb(Block pBulbBlock) createCopperBulb(Block pBulbBlock, ResourceLocation pUnlit, ResourceLocation pUnlitPowered, ResourceLocation pLit, ResourceLocation pLitPowered) voidcreateCoral(Block pCoralBlock, Block pDeadCoralBlock, Block pCoralFullBlock, Block pDeadCoralFullBlock, Block pCoralFanBlock, Block pDeadCoralFanBlock, Block pCoralWallFanBlock, Block pDeadCoralWallFanBlock) voidcreateCoralFans(Block pCoralFanBlock, Block pCoralWallFanBlock) voidvoidcreateCraftingTableLike(Block pCraftingTableBlock, Block pCraftingTableMaterialBlock, BiFunction<Block, Block, TextureMapping> pTextureMappingGetter) voidcreateCreakingHeart(Block pBlock) voidcreateCropBlock(Block pCropBlock, Property<Integer> pAgeProperty, int... pAgeToVisualStageMapping) voidcreateCrossBlock(Block pBlock, BlockModelGenerators.PlantType pPlantType) voidcreateCrossBlock(Block pBlock, BlockModelGenerators.PlantType pPlantType, TextureMapping pTextureMapping) voidcreateCrossBlock(Block pBlock, BlockModelGenerators.PlantType pPlantType, Property<Integer> pAgeProperty, int... pPossibleValues) voidcreateCrossBlockWithDefaultItem(Block pBlock, BlockModelGenerators.PlantType pPlantType) voidcreateCrossBlockWithDefaultItem(Block pBlock, BlockModelGenerators.PlantType pPlantType, TextureMapping pTextureMapping) static BlockStateGeneratorcreateCustomFence(Block pCustomFenceBlock, ResourceLocation pPostModelId, ResourceLocation pNorthModelId, ResourceLocation pEastModelId, ResourceLocation pSouthModelId, ResourceLocation pWestModelId) voidvoidvoidcreateDispenserBlock(Block pDispenserBlock) voidcreateDoor(Block pDoorBlock) static BlockStateGeneratorcreateDoor(Block pDoorBlock, ResourceLocation pTopLeftModelLocation, ResourceLocation pTopLeftOpenModelLocation, ResourceLocation pTopRightModelLocation, ResourceLocation pTopRightOpenModelLocation, ResourceLocation pBottomLeftModelLocation, ResourceLocation pBottomLeftOpenModelLocation, ResourceLocation pBottomRightModelLocation, ResourceLocation pBottomRightOpenModelLocation) voidcreateDoubleBlock(Block pDoubleBlock, ResourceLocation pTopHalfModelLocation, ResourceLocation pBottomHalfModelLocation) voidcreateDoublePlant(Block pBlock, BlockModelGenerators.PlantType pPlantType) voidcreateDoublePlantWithDefaultItem(Block pBlock, BlockModelGenerators.PlantType pPlantType) static <T extends Comparable<T>>
PropertyDispatchcreateEmptyOrFullDispatch(Property<T> pProperty, T pMinimumValueForFullVariant, ResourceLocation pFullVariantModelLocation, ResourceLocation pEmptyVariantModelLocation) voidstatic PropertyDispatchvoidstatic BlockStateGeneratorcreateFence(Block pFenceBlock, ResourceLocation pFencePostModelLocation, ResourceLocation pFenceSideModelLocation) static BlockStateGeneratorcreateFenceGate(Block pFenceGateBlock, ResourceLocation pOpenModelLocation, ResourceLocation pClosedModelLocation, ResourceLocation pWallOpenModelLocation, ResourceLocation pWallClosedModelLocation, boolean pUvLock) voidcreateFlatItemModel(Item pItem) createFlatItemModelWithBlockTexture(Item pItem, Block pBlock) createFlatItemModelWithBlockTexture(Item pItem, Block pBlock, String pSuffix) createFlatItemModelWithBlockTextureAndOverlay(Item pItem, Block pBlock, String pSuffix) createFloorFireModels(Block pFireBlock) voidcreateFlowerBed(Block pFlowerBedBlock) voidvoidvoidcreateFullAndCarpetBlocks(Block pFullBlock, Block pCarpetBlock) voidcreateFurnace(Block pFurnaceBlock, TexturedModel.Provider pModelProvider) voidcreateGenericCube(Block pBlock) voidcreateGlassBlocks(Block pGlassBlock, Block pPaneBlock) voidvoidcreateGrassLikeBlock(Block pGrassLikeBlock, ResourceLocation pModelLocation, Variant pVariant) voidvoidcreateGrowingPlant(Block pPlantBlock, Block pTipBlock, BlockModelGenerators.PlantType pPlantType) voidcreateHangingMoss(Block pBlock) voidcreateHangingSign(Block pParticleBlock, Block pHangingSignBlock, Block pWallHangingSignBlock) voidcreateHead(Block pHeadBlock, Block pWallHeadBlock, SkullBlock.Type pType, ResourceLocation pModelLocation) voidvoidstatic PropertyDispatchstatic PropertyDispatchvoidcreateHorizontallyRotatedBlock(Block pHorizontallyRotatedBlock, TexturedModel.Provider pProvider) voidvoidvoidvoidcreateItemWithGrassTint(Block pBlock) voidvoidcreateLantern(Block pLanternBlock) voidvoidvoidvoidvoidvoidstatic BlockStateGeneratorcreateMirroredColumnGenerator(Block pColumnBlock, ResourceLocation pLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) static BlockStateGeneratorcreateMirroredCubeGenerator(Block pCubeBlock, ResourceLocation pLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) voidcreateMossyCarpet(Block pBlock) voidvoidcreateMultiface(Block pMultifaceBlock) voidcreateMultiface(Block pBlock, Item pItem) voidcreateMultifaceBlockStates(Block pBlock) voidcreateMushroomBlock(Block pMushroomBlock) voidvoidvoidcreateNetherRoots(Block pPlantBlock, Block pPottedPlantBlock) voidcreateNonTemplateHorizontalBlock(Block pHorizontalBlock) voidcreateNonTemplateModelBlock(Block pBlock) voidcreateNonTemplateModelBlock(Block pBlock, Block pModelBlock) voidcreateNormalTorch(Block pTorchBlock, Block pWallTorchBlock) static BlockStateGeneratorcreateNorthWestMirroredCubeGenerator(Block pCubeBlock, ResourceLocation pLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) voidcreateNyliumBlock(Block pNyliumBlock) voidvoidcreateOrientableTrapdoor(Block pOrientableTrapdoorBlock) static BlockStateGeneratorcreateOrientableTrapdoor(Block pOrientableTrapdoorBlock, ResourceLocation pTopModelLocation, ResourceLocation pBottomModelLocation, ResourceLocation pOpenModelLocation) voidcreateParticleOnlyBlock(Block pBlock) voidcreateParticleOnlyBlock(Block pBlock, Block pParticleBlock) createParticleOnlyBlockModel(Block pBlock, Block pParticleBlock) voidcreatePassiveRail(Block pRailBlock) voidstatic BlockStateGeneratorcreatePillarBlockUVLocked(Block pBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) voidvoidvoidcreatePistonVariant(Block pPistonBlock, ResourceLocation pBaseModelLocation, TextureMapping pTopTextureMapping) voidvoidvoidcreatePlant(Block pBlock, Block pPottedBlock, BlockModelGenerators.PlantType pPlantType) voidcreatePlantWithDefaultItem(Block pBlock, Block pPottedBlock, BlockModelGenerators.PlantType pPlantType) voidcreatePointedDripstoneVariant(Direction pDirection, DripstoneThickness pDripstoneThickness) voidcreatePottedAzalea(Block pPottedAzaleaBlock) static BlockStateGeneratorcreatePressurePlate(Block pPressurePlateBlock, ResourceLocation pUnpoweredModelLocation, ResourceLocation pPoweredModelLocation) voidvoidcreatePumpkinVariant(Block pPumpkinBlock, TextureMapping pColumnTextureMapping) voidvoidvoidvoidvoidvoidcreateRotatableColumn(Block pRotatableColumnBlock) voidstatic PropertyDispatchvoidcreateRotatedPillarWithHorizontalVariant(Block pRotatedPillarBlock, TexturedModel.Provider pModelProvider, TexturedModel.Provider pHorizontalModelProvider) static BlockStateGeneratorcreateRotatedPillarWithHorizontalVariant(Block pRotatedPillarBlock, ResourceLocation pModelLocation, ResourceLocation pHorizontalModelLocation) static MultiVariantGeneratorcreateRotatedVariant(Block pBlock, ResourceLocation pModel) static MultiVariantGeneratorcreateRotatedVariant(Block pBlock, ResourceLocation pModel1, ResourceLocation pModel2) voidcreateRotatedVariantBlock(Block pBlock) static Variant[]createRotatedVariants(ResourceLocation pModelLocation) voidvoidvoidvoidvoidvoidcreateShulkerBox(Block pBlock, DyeColor pColor) createSideFireModels(Block pFireBlock) static MultiVariantGeneratorcreateSimpleBlock(Block pBlock, ResourceLocation pModel) static BlockStateGeneratorcreateSlab(Block pSlabBlock, ResourceLocation pBottomHalfModelLocation, ResourceLocation pTopHalfModelLocation, ResourceLocation pDoubleModelLocation) voidvoidvoidvoidvoidvoidstatic BlockStateGeneratorcreateStairs(Block pStairsBlock, ResourceLocation pInnerModelLocation, ResourceLocation pStraightModelLocation, ResourceLocation pOuterModelLocation) voidcreateStems(Block pUnattachedStemBlock, Block pAttachedStemBlock) voidvoidcreateSuffixedVariant(Block pBlock, String pSuffix, ModelTemplate pModelTemplate, Function<ResourceLocation, TextureMapping> pTextureMappingGetter) voidvoidvoidvoidcreateTintedDoublePlant(Block pBlock) voidcreateTintedLeaves(Block pBlock, TexturedModel.Provider pProvider, int pTint) createTopFireModels(Block pFireBlock) static PropertyDispatchvoidcreateTrapdoor(Block pTrapdoorBlock) static BlockStateGeneratorcreateTrapdoor(Block pTrapdoorBlock, ResourceLocation pTopModelLocation, ResourceLocation pBottomModelLocation, ResourceLocation pOpenModelLocation) voidvoidvoidvoidcreateTrivialBlock(Block pBlock, TexturedModel.Provider pProvider) voidcreateTrivialCube(Block pBlock) voidcreateTurtleEggModel(int pHatchAmount, String pVariantName, TextureMapping pTextureMapping) createTurtleEggModel(Integer pEggAmount, Integer pVariantId) voidvoidstatic BlockStateGeneratorcreateWall(Block pWallBlock, ResourceLocation pPostModelLocation, ResourceLocation pLowSideModelLocation, ResourceLocation pTallSideModelLocation) voidcreateWeightedPressurePlate(Block pPressurePlateBlock, Block pPlateMaterialBlock) familyWithExistingFullBlock(Block fullBlock) Neo: create aBlockModelGenerators.BlockFamilyProviderwhich re-uses the existing model of the given full block instead of creating a model and blockstate file for it.voidgenerateSimpleSpecialItemModel(Block pBlock, SpecialModelRenderer.Unbaked pSpecialModel) voidregisterSimpleFlatItemModel(Item pItem) voidregisterSimpleFlatItemModel(Block pBlock) voidregisterSimpleFlatItemModel(Block pBlock, String pSuffix) voidregisterSimpleItemModel(Item pItem, ResourceLocation pModel) voidregisterSimpleItemModel(Block pBlock, ResourceLocation pModel) voidregisterSimpleTintedItemModel(Block pBlock, ResourceLocation pModel, ItemTintSource pTintSource) voidregisterTwoLayerFlatItemModel(Block pBlock, String pSuffix) voidrun()woodProvider(Block pLogBlock) wrapModels(List<ResourceLocation> pModelLocations, UnaryOperator<Variant> pVariantMapper)
-
Field Details
-
blockStateOutput
-
itemModelOutput
-
modelOutput
-
nonOrientableTrapdoor
-
fullBlockModelCustomGenerators
public final Map<Block,BlockModelGenerators.BlockStateGeneratorSupplier> fullBlockModelCustomGenerators -
texturedModels
-
SHAPE_CONSUMERS
public static final Map<BlockFamily.Variant,BiConsumer<BlockModelGenerators.BlockFamilyProvider, SHAPE_CONSUMERSBlock>> -
MULTIFACE_GENERATOR
public static final List<com.mojang.datafixers.util.Pair<Direction,Function<ResourceLocation, MULTIFACE_GENERATORVariant>>> -
CHISELED_BOOKSHELF_SLOT_MODEL_CACHE
public static final Map<BlockModelGenerators.BookSlotModelCacheKey,ResourceLocation> CHISELED_BOOKSHELF_SLOT_MODEL_CACHE
-
-
Constructor Details
-
BlockModelGenerators
public BlockModelGenerators(Consumer<BlockStateGenerator> pBlockStateOutput, ItemModelOutput pItemModelOutput, BiConsumer<ResourceLocation, ModelInstance> pModelOutput)
-
-
Method Details
-
createMirroredCubeGenerator
public static BlockStateGenerator createMirroredCubeGenerator(Block pCubeBlock, ResourceLocation pLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) -
createNorthWestMirroredCubeGenerator
public static BlockStateGenerator createNorthWestMirroredCubeGenerator(Block pCubeBlock, ResourceLocation pLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) -
createMirroredColumnGenerator
public static BlockStateGenerator createMirroredColumnGenerator(Block pColumnBlock, ResourceLocation pLocation, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) -
registerSimpleItemModel
-
registerSimpleItemModel
-
registerSimpleTintedItemModel
public void registerSimpleTintedItemModel(Block pBlock, ResourceLocation pModel, ItemTintSource pTintSource) -
createFlatItemModel
-
createFlatItemModelWithBlockTexture
-
createFlatItemModelWithBlockTexture
public ResourceLocation createFlatItemModelWithBlockTexture(Item pItem, Block pBlock, String pSuffix) -
createFlatItemModelWithBlockTextureAndOverlay
public ResourceLocation createFlatItemModelWithBlockTextureAndOverlay(Item pItem, Block pBlock, String pSuffix) -
registerSimpleFlatItemModel
-
registerSimpleFlatItemModel
-
registerSimpleFlatItemModel
-
registerTwoLayerFlatItemModel
-
createHorizontalFacingDispatch
-
createHorizontalFacingDispatchAlt
-
createTorchHorizontalDispatch
-
createFacingDispatch
-
createRotatedVariant
-
createRotatedVariants
-
createRotatedVariant
public static MultiVariantGenerator createRotatedVariant(Block pBlock, ResourceLocation pModel1, ResourceLocation pModel2) -
createBooleanModelDispatch
public static PropertyDispatch createBooleanModelDispatch(BooleanProperty pProperty, ResourceLocation pTrueModelLocation, ResourceLocation pFalseModelLocation) -
createRotatedMirroredVariantBlock
-
createRotatedVariantBlock
-
createBrushableBlock
-
createButton
public static BlockStateGenerator createButton(Block pButtonBlock, ResourceLocation pUnpoweredModelLocation, ResourceLocation pPoweredModelLocation) -
configureDoorHalf
public static PropertyDispatch.C4<Direction,DoubleBlockHalf, configureDoorHalfDoorHingeSide, Boolean> (PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> pProperties, DoubleBlockHalf pHalf, ResourceLocation pLeftModelLocation, ResourceLocation pLeftOpenModelLocation, ResourceLocation pRightModelLocation, ResourceLocation pRightOpenModelLocation) -
createDoor
public static BlockStateGenerator createDoor(Block pDoorBlock, ResourceLocation pTopLeftModelLocation, ResourceLocation pTopLeftOpenModelLocation, ResourceLocation pTopRightModelLocation, ResourceLocation pTopRightOpenModelLocation, ResourceLocation pBottomLeftModelLocation, ResourceLocation pBottomLeftOpenModelLocation, ResourceLocation pBottomRightModelLocation, ResourceLocation pBottomRightOpenModelLocation) -
createCustomFence
public static BlockStateGenerator createCustomFence(Block pCustomFenceBlock, ResourceLocation pPostModelId, ResourceLocation pNorthModelId, ResourceLocation pEastModelId, ResourceLocation pSouthModelId, ResourceLocation pWestModelId) -
createFence
public static BlockStateGenerator createFence(Block pFenceBlock, ResourceLocation pFencePostModelLocation, ResourceLocation pFenceSideModelLocation) -
createWall
public static BlockStateGenerator createWall(Block pWallBlock, ResourceLocation pPostModelLocation, ResourceLocation pLowSideModelLocation, ResourceLocation pTallSideModelLocation) -
createFenceGate
public static BlockStateGenerator createFenceGate(Block pFenceGateBlock, ResourceLocation pOpenModelLocation, ResourceLocation pClosedModelLocation, ResourceLocation pWallOpenModelLocation, ResourceLocation pWallClosedModelLocation, boolean pUvLock) -
createStairs
public static BlockStateGenerator createStairs(Block pStairsBlock, ResourceLocation pInnerModelLocation, ResourceLocation pStraightModelLocation, ResourceLocation pOuterModelLocation) -
createOrientableTrapdoor
public static BlockStateGenerator createOrientableTrapdoor(Block pOrientableTrapdoorBlock, ResourceLocation pTopModelLocation, ResourceLocation pBottomModelLocation, ResourceLocation pOpenModelLocation) -
createTrapdoor
public static BlockStateGenerator createTrapdoor(Block pTrapdoorBlock, ResourceLocation pTopModelLocation, ResourceLocation pBottomModelLocation, ResourceLocation pOpenModelLocation) -
createSimpleBlock
-
createRotatedPillar
-
createPillarBlockUVLocked
public static BlockStateGenerator createPillarBlockUVLocked(Block pBlock, TextureMapping pTextureMapping, BiConsumer<ResourceLocation, ModelInstance> pModelOutput) -
createAxisAlignedPillarBlock
public static BlockStateGenerator createAxisAlignedPillarBlock(Block pAxisAlignedPillarBlock, ResourceLocation pModelLocation) -
createAxisAlignedPillarBlockCustomModel
public void createAxisAlignedPillarBlockCustomModel(Block pAxisAlignedPillarBlock, ResourceLocation pModelLocation) -
createAxisAlignedPillarBlock
public void createAxisAlignedPillarBlock(Block pAxisAlignedPillarBlock, TexturedModel.Provider pProvider) -
createHorizontallyRotatedBlock
public void createHorizontallyRotatedBlock(Block pHorizontallyRotatedBlock, TexturedModel.Provider pProvider) -
createRotatedPillarWithHorizontalVariant
public static BlockStateGenerator createRotatedPillarWithHorizontalVariant(Block pRotatedPillarBlock, ResourceLocation pModelLocation, ResourceLocation pHorizontalModelLocation) -
createRotatedPillarWithHorizontalVariant
public void createRotatedPillarWithHorizontalVariant(Block pRotatedPillarBlock, TexturedModel.Provider pModelProvider, TexturedModel.Provider pHorizontalModelProvider) -
createCreakingHeart
-
createSuffixedVariant
public ResourceLocation createSuffixedVariant(Block pBlock, String pSuffix, ModelTemplate pModelTemplate, Function<ResourceLocation, TextureMapping> pTextureMappingGetter) -
createPressurePlate
public static BlockStateGenerator createPressurePlate(Block pPressurePlateBlock, ResourceLocation pUnpoweredModelLocation, ResourceLocation pPoweredModelLocation) -
createSlab
public static BlockStateGenerator createSlab(Block pSlabBlock, ResourceLocation pBottomHalfModelLocation, ResourceLocation pTopHalfModelLocation, ResourceLocation pDoubleModelLocation) -
createTrivialCube
-
createTrivialBlock
-
createTintedLeaves
-
createVine
public void createVine() -
createItemWithGrassTint
-
family
-
createHangingSign
-
createDoor
-
copyDoorModel
-
createOrientableTrapdoor
-
createTrapdoor
-
copyTrapdoorModel
-
createBigDripLeafBlock
public void createBigDripLeafBlock() -
woodProvider
-
createNonTemplateModelBlock
-
createNonTemplateModelBlock
-
createCrossBlockWithDefaultItem
public void createCrossBlockWithDefaultItem(Block pBlock, BlockModelGenerators.PlantType pPlantType) -
createCrossBlockWithDefaultItem
public void createCrossBlockWithDefaultItem(Block pBlock, BlockModelGenerators.PlantType pPlantType, TextureMapping pTextureMapping) -
createCrossBlock
-
createCrossBlock
public void createCrossBlock(Block pBlock, BlockModelGenerators.PlantType pPlantType, TextureMapping pTextureMapping) -
createCrossBlock
public void createCrossBlock(Block pBlock, BlockModelGenerators.PlantType pPlantType, Property<Integer> pAgeProperty, int... pPossibleValues) -
createPlantWithDefaultItem
public void createPlantWithDefaultItem(Block pBlock, Block pPottedBlock, BlockModelGenerators.PlantType pPlantType) -
createPlant
public void createPlant(Block pBlock, Block pPottedBlock, BlockModelGenerators.PlantType pPlantType) -
createCoralFans
-
createStems
-
createPitcherPlant
public void createPitcherPlant() -
createPitcherCrop
public void createPitcherCrop() -
createCoral
-
createDoublePlant
-
createDoublePlantWithDefaultItem
public void createDoublePlantWithDefaultItem(Block pBlock, BlockModelGenerators.PlantType pPlantType) -
createTintedDoublePlant
-
createSunflower
public void createSunflower() -
createTallSeagrass
public void createTallSeagrass() -
createSmallDripleaf
public void createSmallDripleaf() -
createDoubleBlock
public void createDoubleBlock(Block pDoubleBlock, ResourceLocation pTopHalfModelLocation, ResourceLocation pBottomHalfModelLocation) -
createPassiveRail
-
createActiveRail
-
createAirLikeBlock
-
createAirLikeBlock
-
createParticleOnlyBlockModel
-
createParticleOnlyBlock
-
createParticleOnlyBlock
-
createFullAndCarpetBlocks
-
createFlowerBed
-
createColoredBlockWithRandomRotations
public void createColoredBlockWithRandomRotations(TexturedModel.Provider pModelProvider, Block... pColoredBlocks) -
createColoredBlockWithStateRotations
public void createColoredBlockWithStateRotations(TexturedModel.Provider pModelProvider, Block... pColoredBlocks) -
createGlassBlocks
-
createCommandBlock
-
createAnvil
-
createBambooModels
-
createBamboo
public void createBamboo() -
createColumnWithFacing
-
createBarrel
public void createBarrel() -
createEmptyOrFullDispatch
public static <T extends Comparable<T>> PropertyDispatch createEmptyOrFullDispatch(Property<T> pProperty, T pMinimumValueForFullVariant, ResourceLocation pFullVariantModelLocation, ResourceLocation pEmptyVariantModelLocation) -
createBeeNest
public void createBeeNest(Block pBeeNestBlock, Function<Block, TextureMapping> pTextureMappingGetter) -
createCropBlock
-
createBell
public void createBell() -
createGrindstone
public void createGrindstone() -
createFurnace
-
createCampfires
-
createAzalea
-
createPottedAzalea
-
createBookshelf
public void createBookshelf() -
createRedstoneWire
public void createRedstoneWire() -
createComparator
public void createComparator() -
createSmoothStoneSlab
public void createSmoothStoneSlab() -
createBrewingStand
public void createBrewingStand() -
createMushroomBlock
-
createCakeBlock
public void createCakeBlock() -
createCartographyTable
public void createCartographyTable() -
createSmithingTable
public void createSmithingTable() -
createCraftingTableLike
public void createCraftingTableLike(Block pCraftingTableBlock, Block pCraftingTableMaterialBlock, BiFunction<Block, Block, TextureMapping> pTextureMappingGetter) -
createGenericCube
-
createPumpkins
public void createPumpkins() -
createPumpkinVariant
-
createCauldrons
public void createCauldrons() -
createChorusFlower
public void createChorusFlower() -
createCrafterBlock
public void createCrafterBlock() -
createDispenserBlock
-
createEndPortalFrame
public void createEndPortalFrame() -
createChorusPlant
public void createChorusPlant() -
createComposter
public void createComposter() -
createCopperBulb
-
createCopperBulb
public BlockStateGenerator createCopperBulb(Block pBulbBlock, ResourceLocation pUnlit, ResourceLocation pUnlitPowered, ResourceLocation pLit, ResourceLocation pLitPowered) -
copyCopperBulbModel
-
createAmethystCluster
-
createAmethystClusters
public void createAmethystClusters() -
createPointedDripstone
public void createPointedDripstone() -
createPointedDripstoneVariant
public Variant createPointedDripstoneVariant(Direction pDirection, DripstoneThickness pDripstoneThickness) -
createNyliumBlock
-
createDaylightDetector
public void createDaylightDetector() -
createRotatableColumn
-
createLightningRod
public void createLightningRod() -
createFarmland
public void createFarmland() -
createFloorFireModels
-
createSideFireModels
-
createTopFireModels
-
wrapModels
public static List<Variant> wrapModels(List<ResourceLocation> pModelLocations, UnaryOperator<Variant> pVariantMapper) -
createFire
public void createFire() -
createSoulFire
public void createSoulFire() -
createLantern
-
createMuddyMangroveRoots
public void createMuddyMangroveRoots() -
createMangrovePropagule
public void createMangrovePropagule() -
createFrostedIce
public void createFrostedIce() -
createGrassBlocks
public void createGrassBlocks() -
createGrassLikeBlock
public void createGrassLikeBlock(Block pGrassLikeBlock, ResourceLocation pModelLocation, Variant pVariant) -
createCocoa
public void createCocoa() -
createDirtPath
public void createDirtPath() -
createWeightedPressurePlate
-
createHopper
public void createHopper() -
copyModel
-
createIronBars
public void createIronBars() -
createNonTemplateHorizontalBlock
-
createLever
public void createLever() -
createLilyPad
public void createLilyPad() -
createFrogspawnBlock
public void createFrogspawnBlock() -
createNetherPortalBlock
public void createNetherPortalBlock() -
createNetherrack
public void createNetherrack() -
createObserver
public void createObserver() -
createPistons
public void createPistons() -
createPistonVariant
public void createPistonVariant(Block pPistonBlock, ResourceLocation pBaseModelLocation, TextureMapping pTopTextureMapping) -
createPistonHeads
public void createPistonHeads() -
createTrialSpawner
public void createTrialSpawner() -
createVault
public void createVault() -
createSculkSensor
public void createSculkSensor() -
createCalibratedSculkSensor
public void createCalibratedSculkSensor() -
createSculkShrieker
public void createSculkShrieker() -
createScaffolding
public void createScaffolding() -
createCaveVines
public void createCaveVines() -
createRedstoneLamp
public void createRedstoneLamp() -
createNormalTorch
-
createRedstoneTorch
public void createRedstoneTorch() -
createRepeater
public void createRepeater() -
createSeaPickle
public void createSeaPickle() -
createSnowBlocks
public void createSnowBlocks() -
createStonecutter
public void createStonecutter() -
createStructureBlock
public void createStructureBlock() -
createSweetBerryBush
public void createSweetBerryBush() -
createTripwire
public void createTripwire() -
createTripwireHook
public void createTripwireHook() -
createTurtleEggModel
public ResourceLocation createTurtleEggModel(int pHatchAmount, String pVariantName, TextureMapping pTextureMapping) -
createTurtleEggModel
-
createTurtleEgg
public void createTurtleEgg() -
createSnifferEgg
public void createSnifferEgg() -
createMultiface
-
createMultiface
-
createMultifaceBlockStates
-
createMossyCarpet
-
createHangingMoss
-
createSculkCatalyst
public void createSculkCatalyst() -
createChiseledBookshelf
public void createChiseledBookshelf() -
addSlotStateAndRotationVariants
public void addSlotStateAndRotationVariants(MultiPartGenerator pGenerator, Condition.TerminalCondition pCondition, VariantProperties.Rotation pRotation) -
addBookSlotModel
public void addBookSlotModel(MultiPartGenerator pGenerator, Condition.TerminalCondition pCondition, VariantProperties.Rotation pRotation, BooleanProperty pProperty, ModelTemplate pTemplate, boolean pOccupied) -
createMagmaBlock
public void createMagmaBlock() -
createShulkerBox
-
createGrowingPlant
public void createGrowingPlant(Block pPlantBlock, Block pTipBlock, BlockModelGenerators.PlantType pPlantType) -
createInfestedStone
public void createInfestedStone() -
createInfestedDeepslate
public void createInfestedDeepslate() -
createNetherRoots
-
createRespawnAnchor
public void createRespawnAnchor() -
applyRotation
-
createJigsaw
public void createJigsaw() -
createPetrifiedOakSlab
public void createPetrifiedOakSlab() -
createHead
public void createHead(Block pHeadBlock, Block pWallHeadBlock, SkullBlock.Type pType, ResourceLocation pModelLocation) -
createHeads
public void createHeads() -
createBanner
-
createBanners
public void createBanners() -
createChest
public void createChest(Block pChestBlock, Block pParticleBlock, ResourceLocation pTexture, boolean pUseGiftTexture) -
createChests
public void createChests() -
createBed
-
createBeds
public void createBeds() -
generateSimpleSpecialItemModel
public void generateSimpleSpecialItemModel(Block pBlock, SpecialModelRenderer.Unbaked pSpecialModel) -
run
public void run() -
createLightBlock
public void createLightBlock() -
createCandleAndCandleCake
-
familyWithExistingFullBlock
Neo: create aBlockModelGenerators.BlockFamilyProviderwhich re-uses the existing model of the given full block instead of creating a model and blockstate file for it. Intended for use cases where the full block is separately generated or otherwise exists such as when a dummyBlockFamilyis used to create additional variants for existing vanilla block families
-