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> blockStateOutput, ItemModelOutput itemModelOutput, BiConsumer<ResourceLocation, ModelInstance> modelOutput) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBookSlotModel(MultiPartGenerator generator, Condition.TerminalCondition condition, VariantProperties.Rotation rotation, BooleanProperty property, ModelTemplate template, boolean occupied) voidaddSlotStateAndRotationVariants(MultiPartGenerator generator, Condition.TerminalCondition condition, VariantProperties.Rotation rotation) applyRotation(FrontAndTop frontAndTop, Variant variant) configureDoorHalf(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> properties, DoubleBlockHalf half, ResourceLocation leftModelLocation, ResourceLocation leftOpenModelLocation, ResourceLocation rightModelLocation, ResourceLocation rightOpenModelLocation) voidcopyCopperBulbModel(Block bulbBlock, Block sourceBlock) voidcopyDoorModel(Block doorBlock, Block sourceBlock) voidvoidcopyTrapdoorModel(Block trapdoorBlock, Block sourceBlock) voidcreateActiveRail(Block railBlock) voidcreateAirLikeBlock(Block airLikeBlock, ResourceLocation particleTexture) voidcreateAirLikeBlock(Block airLikeBlock, Item particleItem) voidcreateAmethystCluster(Block amethystBlock) voidvoidcreateAnvil(Block anvilBlock) voidcreateAxisAlignedPillarBlock(Block axisAlignedPillarBlock, TexturedModel.Provider provider) static BlockStateGeneratorcreateAxisAlignedPillarBlock(Block axisAlignedPillarBlock, ResourceLocation modelLocation) voidcreateAxisAlignedPillarBlockCustomModel(Block axisAlignedPillarBlock, ResourceLocation modelLocation) voidcreateAzalea(Block azaleaBlock) voidcreateBambooModels(int age) voidcreateBanner(Block block, Block wallBlock, DyeColor color) voidvoidvoidvoidvoidcreateBeeNest(Block beeNestBlock, Function<Block, TextureMapping> textureMappingGetter) voidvoidvoidstatic PropertyDispatchcreateBooleanModelDispatch(BooleanProperty property, ResourceLocation trueModelLocation, ResourceLocation falseModelLocation) voidvoidcreateBrushableBlock(Block block) static BlockStateGeneratorcreateButton(Block buttonBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) voidvoidvoidcreateCampfires(Block... campfireBlocks) voidcreateCandleAndCandleCake(Block candleBlock, Block candleCakeBlock) voidvoidvoidvoidcreateChest(Block chestBlock, Block particleBlock, ResourceLocation texture, boolean useGiftTexture) voidvoidvoidvoidvoidvoidcreateColoredBlockWithRandomRotations(TexturedModel.Provider modelProvider, Block... coloredBlocks) voidcreateColoredBlockWithStateRotations(TexturedModel.Provider modelProvider, Block... coloredBlocks) voidcreateCommandBlock(Block commandBlock) voidvoidvoidcreateCopperBulb(Block bulbBlock) createCopperBulb(Block bulbBlock, ResourceLocation unlit, ResourceLocation unlitPowered, ResourceLocation lit, ResourceLocation litPowered) voidcreateCoral(Block coralBlock, Block deadCoralBlock, Block coralFullBlock, Block deadCoralFullBlock, Block coralFanBlock, Block deadCoralFanBlock, Block coralWallFanBlock, Block deadCoralWallFanBlock) voidcreateCoralFans(Block coralFanBlock, Block coralWallFanBlock) voidvoidcreateCraftingTableLike(Block craftingTableBlock, Block craftingTableMaterialBlock, BiFunction<Block, Block, TextureMapping> textureMappingGetter) voidcreateCreakingHeart(Block block) voidcreateCropBlock(Block cropBlock, Property<Integer> ageProperty, int... ageToVisualStageMapping) voidcreateCrossBlock(Block block, BlockModelGenerators.PlantType plantType) voidcreateCrossBlock(Block block, BlockModelGenerators.PlantType plantType, TextureMapping textureMapping) voidcreateCrossBlock(Block block, BlockModelGenerators.PlantType plantType, Property<Integer> ageProperty, int... possibleValues) voidcreateCrossBlockWithDefaultItem(Block block, BlockModelGenerators.PlantType plantType) voidcreateCrossBlockWithDefaultItem(Block block, BlockModelGenerators.PlantType plantType, TextureMapping textureMapping) static BlockStateGeneratorcreateCustomFence(Block customFenceBlock, ResourceLocation postModelId, ResourceLocation northModelId, ResourceLocation eastModelId, ResourceLocation southModelId, ResourceLocation westModelId) voidvoidvoidcreateDispenserBlock(Block dispenserBlock) voidcreateDoor(Block doorBlock) static BlockStateGeneratorcreateDoor(Block doorBlock, ResourceLocation topLeftModelLocation, ResourceLocation topLeftOpenModelLocation, ResourceLocation topRightModelLocation, ResourceLocation topRightOpenModelLocation, ResourceLocation bottomLeftModelLocation, ResourceLocation bottomLeftOpenModelLocation, ResourceLocation bottomRightModelLocation, ResourceLocation bottomRightOpenModelLocation) voidcreateDoubleBlock(Block doubleBlock, ResourceLocation topHalfModelLocation, ResourceLocation bottomHalfModelLocation) voidcreateDoublePlant(Block block, BlockModelGenerators.PlantType plantType) voidcreateDoublePlantWithDefaultItem(Block block, BlockModelGenerators.PlantType plantType) static <T extends Comparable<T>>
PropertyDispatchcreateEmptyOrFullDispatch(Property<T> property, T minimumValueForFullVariant, ResourceLocation fullVariantModelLocation, ResourceLocation emptyVariantModelLocation) voidstatic PropertyDispatchvoidstatic BlockStateGeneratorcreateFence(Block fenceBlock, ResourceLocation fencePostModelLocation, ResourceLocation fenceSideModelLocation) static BlockStateGeneratorcreateFenceGate(Block fenceGateBlock, ResourceLocation openModelLocation, ResourceLocation closedModelLocation, ResourceLocation wallOpenModelLocation, ResourceLocation wallClosedModelLocation, boolean uvLock) voidcreateFlatItemModel(Item item) createFlatItemModelWithBlockTexture(Item item, Block block) createFlatItemModelWithBlockTexture(Item item, Block block, String suffix) createFlatItemModelWithBlockTextureAndOverlay(Item item, Block block, String suffix) createFloorFireModels(Block fireBlock) voidcreateFlowerBed(Block flowerBedBlock) voidvoidvoidcreateFullAndCarpetBlocks(Block fullBlock, Block carpetBlock) voidcreateFurnace(Block furnaceBlock, TexturedModel.Provider modelProvider) voidcreateGenericCube(Block block) voidcreateGlassBlocks(Block glassBlock, Block paneBlock) voidvoidcreateGrassLikeBlock(Block grassLikeBlock, ResourceLocation modelLocation, Variant variant) voidvoidcreateGrowingPlant(Block plantBlock, Block tipBlock, BlockModelGenerators.PlantType plantType) voidcreateHangingMoss(Block block) voidcreateHangingSign(Block particleBlock, Block hangingSignBlock, Block wallHangingSignBlock) voidcreateHead(Block headBlock, Block wallHeadBlock, SkullBlock.Type type, ResourceLocation modelLocation) voidvoidstatic PropertyDispatchstatic PropertyDispatchvoidcreateHorizontallyRotatedBlock(Block horizontallyRotatedBlock, TexturedModel.Provider provider) voidvoidvoidvoidcreateItemWithGrassTint(Block block) voidvoidcreateLantern(Block lanternBlock) voidvoidvoidvoidvoidvoidstatic BlockStateGeneratorcreateMirroredColumnGenerator(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) static BlockStateGeneratorcreateMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) voidcreateMossyCarpet(Block block) voidvoidcreateMultiface(Block multifaceBlock) voidcreateMultiface(Block block, Item item) voidcreateMultifaceBlockStates(Block block) voidcreateMushroomBlock(Block mushroomBlock) voidvoidvoidcreateNetherRoots(Block plantBlock, Block pottedPlantBlock) voidcreateNonTemplateHorizontalBlock(Block horizontalBlock) voidcreateNonTemplateModelBlock(Block block) voidcreateNonTemplateModelBlock(Block block, Block modelBlock) voidcreateNormalTorch(Block torchBlock, Block wallTorchBlock) static BlockStateGeneratorcreateNorthWestMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) voidcreateNyliumBlock(Block nyliumBlock) voidvoidcreateOrientableTrapdoor(Block orientableTrapdoorBlock) static BlockStateGeneratorcreateOrientableTrapdoor(Block orientableTrapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) voidcreateParticleOnlyBlock(Block block) voidcreateParticleOnlyBlock(Block block, Block particleBlock) createParticleOnlyBlockModel(Block block, Block particleBlock) voidcreatePassiveRail(Block railBlock) voidstatic BlockStateGeneratorcreatePillarBlockUVLocked(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) voidvoidvoidcreatePistonVariant(Block pistonBlock, ResourceLocation baseModelLocation, TextureMapping topTextureMapping) voidvoidvoidcreatePlant(Block block, Block pottedBlock, BlockModelGenerators.PlantType plantType) voidcreatePlantWithDefaultItem(Block block, Block pottedBlock, BlockModelGenerators.PlantType plantType) voidcreatePointedDripstoneVariant(Direction direction, DripstoneThickness dripstoneThickness) voidcreatePottedAzalea(Block pottedAzaleaBlock) static BlockStateGeneratorcreatePressurePlate(Block pressurePlateBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) voidvoidcreatePumpkinVariant(Block pumpkinBlock, TextureMapping columnTextureMapping) voidvoidvoidvoidvoidvoidcreateRotatableColumn(Block rotatableColumnBlock) voidstatic PropertyDispatchvoidcreateRotatedPillarWithHorizontalVariant(Block rotatedPillarBlock, TexturedModel.Provider modelProvider, TexturedModel.Provider horizontalModelProvider) static BlockStateGeneratorcreateRotatedPillarWithHorizontalVariant(Block rotatedPillarBlock, ResourceLocation modelLocation, ResourceLocation horizontalModelLocation) static MultiVariantGeneratorcreateRotatedVariant(Block block, ResourceLocation model) static MultiVariantGeneratorcreateRotatedVariant(Block block, ResourceLocation model1, ResourceLocation model2) voidcreateRotatedVariantBlock(Block block) static Variant[]createRotatedVariants(ResourceLocation modelLocation) voidvoidvoidvoidvoidvoidcreateShulkerBox(Block block, DyeColor color) createSideFireModels(Block fireBlock) static MultiVariantGeneratorcreateSimpleBlock(Block block, ResourceLocation model) static BlockStateGeneratorcreateSlab(Block slabBlock, ResourceLocation bottomHalfModelLocation, ResourceLocation topHalfModelLocation, ResourceLocation doubleModelLocation) voidvoidvoidvoidvoidvoidstatic BlockStateGeneratorcreateStairs(Block stairsBlock, ResourceLocation innerModelLocation, ResourceLocation straightModelLocation, ResourceLocation outerModelLocation) voidcreateStems(Block unattachedStemBlock, Block attachedStemBlock) voidvoidcreateSuffixedVariant(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) voidvoidvoidvoidcreateTintedDoublePlant(Block block) voidcreateTintedLeaves(Block block, TexturedModel.Provider provider, int tint) createTopFireModels(Block fireBlock) static PropertyDispatchvoidcreateTrapdoor(Block trapdoorBlock) static BlockStateGeneratorcreateTrapdoor(Block trapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) voidvoidvoidvoidcreateTrivialBlock(Block block, TexturedModel.Provider provider) voidcreateTrivialCube(Block block) voidcreateTurtleEggModel(int hatchAmount, String variantName, TextureMapping textureMapping) createTurtleEggModel(Integer eggAmount, Integer variantId) voidvoidstatic BlockStateGeneratorcreateWall(Block wallBlock, ResourceLocation postModelLocation, ResourceLocation lowSideModelLocation, ResourceLocation tallSideModelLocation) voidcreateWeightedPressurePlate(Block pressurePlateBlock, Block plateMaterialBlock) 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 block, SpecialModelRenderer.Unbaked specialModel) voidvoidregisterSimpleFlatItemModel(Block block) voidregisterSimpleFlatItemModel(Block block, String suffix) voidregisterSimpleItemModel(Item item, ResourceLocation model) voidregisterSimpleItemModel(Block block, ResourceLocation model) voidregisterSimpleTintedItemModel(Block block, ResourceLocation model, ItemTintSource tintSource) voidregisterTwoLayerFlatItemModel(Block block, String suffix) voidrun()woodProvider(Block logBlock) wrapModels(List<ResourceLocation> modelLocations, UnaryOperator<Variant> variantMapper)
-
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> blockStateOutput, ItemModelOutput itemModelOutput, BiConsumer<ResourceLocation, ModelInstance> modelOutput)
-
-
Method Details
-
createMirroredCubeGenerator
public static BlockStateGenerator createMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) -
createNorthWestMirroredCubeGenerator
public static BlockStateGenerator createNorthWestMirroredCubeGenerator(Block cubeBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) -
createMirroredColumnGenerator
public static BlockStateGenerator createMirroredColumnGenerator(Block columnBlock, ResourceLocation location, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) -
registerSimpleItemModel
-
registerSimpleItemModel
-
registerSimpleTintedItemModel
public void registerSimpleTintedItemModel(Block block, ResourceLocation model, ItemTintSource tintSource) -
createFlatItemModel
-
createFlatItemModelWithBlockTexture
-
createFlatItemModelWithBlockTexture
-
createFlatItemModelWithBlockTextureAndOverlay
public ResourceLocation createFlatItemModelWithBlockTextureAndOverlay(Item item, Block block, String suffix) -
registerSimpleFlatItemModel
-
registerSimpleFlatItemModel
-
registerSimpleFlatItemModel
-
registerTwoLayerFlatItemModel
-
createHorizontalFacingDispatch
-
createHorizontalFacingDispatchAlt
-
createTorchHorizontalDispatch
-
createFacingDispatch
-
createRotatedVariant
-
createRotatedVariants
-
createRotatedVariant
public static MultiVariantGenerator createRotatedVariant(Block block, ResourceLocation model1, ResourceLocation model2) -
createBooleanModelDispatch
public static PropertyDispatch createBooleanModelDispatch(BooleanProperty property, ResourceLocation trueModelLocation, ResourceLocation falseModelLocation) -
createRotatedMirroredVariantBlock
-
createRotatedVariantBlock
-
createBrushableBlock
-
createButton
public static BlockStateGenerator createButton(Block buttonBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) -
configureDoorHalf
public static PropertyDispatch.C4<Direction,DoubleBlockHalf, configureDoorHalfDoorHingeSide, Boolean> (PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> properties, DoubleBlockHalf half, ResourceLocation leftModelLocation, ResourceLocation leftOpenModelLocation, ResourceLocation rightModelLocation, ResourceLocation rightOpenModelLocation) -
createDoor
public static BlockStateGenerator createDoor(Block doorBlock, ResourceLocation topLeftModelLocation, ResourceLocation topLeftOpenModelLocation, ResourceLocation topRightModelLocation, ResourceLocation topRightOpenModelLocation, ResourceLocation bottomLeftModelLocation, ResourceLocation bottomLeftOpenModelLocation, ResourceLocation bottomRightModelLocation, ResourceLocation bottomRightOpenModelLocation) -
createCustomFence
public static BlockStateGenerator createCustomFence(Block customFenceBlock, ResourceLocation postModelId, ResourceLocation northModelId, ResourceLocation eastModelId, ResourceLocation southModelId, ResourceLocation westModelId) -
createFence
public static BlockStateGenerator createFence(Block fenceBlock, ResourceLocation fencePostModelLocation, ResourceLocation fenceSideModelLocation) -
createWall
public static BlockStateGenerator createWall(Block wallBlock, ResourceLocation postModelLocation, ResourceLocation lowSideModelLocation, ResourceLocation tallSideModelLocation) -
createFenceGate
public static BlockStateGenerator createFenceGate(Block fenceGateBlock, ResourceLocation openModelLocation, ResourceLocation closedModelLocation, ResourceLocation wallOpenModelLocation, ResourceLocation wallClosedModelLocation, boolean uvLock) -
createStairs
public static BlockStateGenerator createStairs(Block stairsBlock, ResourceLocation innerModelLocation, ResourceLocation straightModelLocation, ResourceLocation outerModelLocation) -
createOrientableTrapdoor
public static BlockStateGenerator createOrientableTrapdoor(Block orientableTrapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) -
createTrapdoor
public static BlockStateGenerator createTrapdoor(Block trapdoorBlock, ResourceLocation topModelLocation, ResourceLocation bottomModelLocation, ResourceLocation openModelLocation) -
createSimpleBlock
-
createRotatedPillar
-
createPillarBlockUVLocked
public static BlockStateGenerator createPillarBlockUVLocked(Block block, TextureMapping textureMapping, BiConsumer<ResourceLocation, ModelInstance> modelOutput) -
createAxisAlignedPillarBlock
public static BlockStateGenerator createAxisAlignedPillarBlock(Block axisAlignedPillarBlock, ResourceLocation modelLocation) -
createAxisAlignedPillarBlockCustomModel
public void createAxisAlignedPillarBlockCustomModel(Block axisAlignedPillarBlock, ResourceLocation modelLocation) -
createAxisAlignedPillarBlock
public void createAxisAlignedPillarBlock(Block axisAlignedPillarBlock, TexturedModel.Provider provider) -
createHorizontallyRotatedBlock
public void createHorizontallyRotatedBlock(Block horizontallyRotatedBlock, TexturedModel.Provider provider) -
createRotatedPillarWithHorizontalVariant
public static BlockStateGenerator createRotatedPillarWithHorizontalVariant(Block rotatedPillarBlock, ResourceLocation modelLocation, ResourceLocation horizontalModelLocation) -
createRotatedPillarWithHorizontalVariant
public void createRotatedPillarWithHorizontalVariant(Block rotatedPillarBlock, TexturedModel.Provider modelProvider, TexturedModel.Provider horizontalModelProvider) -
createCreakingHeart
-
createSuffixedVariant
public ResourceLocation createSuffixedVariant(Block block, String suffix, ModelTemplate modelTemplate, Function<ResourceLocation, TextureMapping> textureMappingGetter) -
createPressurePlate
public static BlockStateGenerator createPressurePlate(Block pressurePlateBlock, ResourceLocation unpoweredModelLocation, ResourceLocation poweredModelLocation) -
createSlab
public static BlockStateGenerator createSlab(Block slabBlock, ResourceLocation bottomHalfModelLocation, ResourceLocation topHalfModelLocation, ResourceLocation doubleModelLocation) -
createTrivialCube
-
createTrivialBlock
-
createTintedLeaves
-
createVine
public void createVine() -
createItemWithGrassTint
-
family
-
createHangingSign
-
createDoor
-
copyDoorModel
-
createOrientableTrapdoor
-
createTrapdoor
-
copyTrapdoorModel
-
createBigDripLeafBlock
public void createBigDripLeafBlock() -
woodProvider
-
createNonTemplateModelBlock
-
createNonTemplateModelBlock
-
createCrossBlockWithDefaultItem
-
createCrossBlockWithDefaultItem
public void createCrossBlockWithDefaultItem(Block block, BlockModelGenerators.PlantType plantType, TextureMapping textureMapping) -
createCrossBlock
-
createCrossBlock
public void createCrossBlock(Block block, BlockModelGenerators.PlantType plantType, TextureMapping textureMapping) -
createCrossBlock
public void createCrossBlock(Block block, BlockModelGenerators.PlantType plantType, Property<Integer> ageProperty, int... possibleValues) -
createPlantWithDefaultItem
public void createPlantWithDefaultItem(Block block, Block pottedBlock, BlockModelGenerators.PlantType plantType) -
createPlant
-
createCoralFans
-
createStems
-
createPitcherPlant
public void createPitcherPlant() -
createPitcherCrop
public void createPitcherCrop() -
createCoral
-
createDoublePlant
-
createDoublePlantWithDefaultItem
-
createTintedDoublePlant
-
createSunflower
public void createSunflower() -
createTallSeagrass
public void createTallSeagrass() -
createSmallDripleaf
public void createSmallDripleaf() -
createDoubleBlock
public void createDoubleBlock(Block doubleBlock, ResourceLocation topHalfModelLocation, ResourceLocation bottomHalfModelLocation) -
createPassiveRail
-
createActiveRail
-
createAirLikeBlock
-
createAirLikeBlock
-
createParticleOnlyBlockModel
-
createParticleOnlyBlock
-
createParticleOnlyBlock
-
createFullAndCarpetBlocks
-
createFlowerBed
-
createColoredBlockWithRandomRotations
public void createColoredBlockWithRandomRotations(TexturedModel.Provider modelProvider, Block... coloredBlocks) -
createColoredBlockWithStateRotations
public void createColoredBlockWithStateRotations(TexturedModel.Provider modelProvider, Block... coloredBlocks) -
createGlassBlocks
-
createCommandBlock
-
createAnvil
-
createBambooModels
-
createBamboo
public void createBamboo() -
createColumnWithFacing
-
createBarrel
public void createBarrel() -
createEmptyOrFullDispatch
public static <T extends Comparable<T>> PropertyDispatch createEmptyOrFullDispatch(Property<T> property, T minimumValueForFullVariant, ResourceLocation fullVariantModelLocation, ResourceLocation emptyVariantModelLocation) -
createBeeNest
-
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 craftingTableBlock, Block craftingTableMaterialBlock, BiFunction<Block, Block, TextureMapping> textureMappingGetter) -
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 bulbBlock, ResourceLocation unlit, ResourceLocation unlitPowered, ResourceLocation lit, ResourceLocation litPowered) -
copyCopperBulbModel
-
createAmethystCluster
-
createAmethystClusters
public void createAmethystClusters() -
createPointedDripstone
public void createPointedDripstone() -
createPointedDripstoneVariant
public Variant createPointedDripstoneVariant(Direction direction, DripstoneThickness dripstoneThickness) -
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> modelLocations, UnaryOperator<Variant> variantMapper) -
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 grassLikeBlock, ResourceLocation modelLocation, Variant variant) -
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 pistonBlock, ResourceLocation baseModelLocation, TextureMapping topTextureMapping) -
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 hatchAmount, String variantName, TextureMapping textureMapping) -
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 generator, Condition.TerminalCondition condition, VariantProperties.Rotation rotation) -
addBookSlotModel
public void addBookSlotModel(MultiPartGenerator generator, Condition.TerminalCondition condition, VariantProperties.Rotation rotation, BooleanProperty property, ModelTemplate template, boolean occupied) -
createMagmaBlock
public void createMagmaBlock() -
createShulkerBox
-
createGrowingPlant
public void createGrowingPlant(Block plantBlock, Block tipBlock, BlockModelGenerators.PlantType plantType) -
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 headBlock, Block wallHeadBlock, SkullBlock.Type type, ResourceLocation modelLocation) -
createHeads
public void createHeads() -
createBanner
-
createBanners
public void createBanners() -
createChest
public void createChest(Block chestBlock, Block particleBlock, ResourceLocation texture, boolean useGiftTexture) -
createChests
public void createChests() -
createBed
-
createBeds
public void createBeds() -
generateSimpleSpecialItemModel
-
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
-