Class FWBlockstateGen
java.lang.Object
net.minecraftforge.client.model.generators.BlockStateProvider
nokunami.floral_warfare.data.provider.FWBlockstateGen
- All Implemented Interfaces:
net.minecraft.data.DataProvider
public class FWBlockstateGen
extends net.minecraftforge.client.model.generators.BlockStateProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.model.generators.BlockStateProvider
net.minecraftforge.client.model.generators.BlockStateProvider.ConfiguredModelListNested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
Fields inherited from class net.minecraftforge.client.model.generators.BlockStateProvider
registeredBlocks, WALL_PROPSFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionFWBlockstateGen(net.minecraft.data.PackOutput output, String modid, net.minecraftforge.common.data.ExistingFileHelper existingFileHelper) -
Method Summary
Modifier and TypeMethodDescriptionvoidblockParentModel(Supplier<? extends net.minecraft.world.level.block.Block> block) voidbuiltinModel(Supplier<? extends net.minecraft.world.level.block.Block> block) net.minecraftforge.client.model.generators.ModelFilecontentPot(String name, net.minecraft.resources.ResourceLocation texture) net.minecraftforge.client.model.generators.ModelFilenet.minecraftforge.client.model.generators.ItemModelBuildergeneratedItem(Supplier<? extends net.minecraft.world.item.Item> item) net.minecraftforge.client.model.generators.ItemModelBuildergeneratedItem(Supplier<? extends net.minecraft.world.item.Item> item, String layer0) itemNamePath(Supplier<? extends net.minecraft.world.item.Item> item) voidjustParticle(Supplier<? extends net.minecraft.world.level.block.Block> block) voidjustParticle(Supplier<? extends net.minecraft.world.level.block.Block> block, String blockModel, String particle) voidjustParticle(Supplier<? extends net.minecraft.world.level.block.Block> block, net.minecraft.resources.ResourceLocation particle) voidjustParticle(Supplier<? extends net.minecraft.world.level.block.Block> block, net.minecraft.resources.ResourceLocation blockModel, net.minecraft.resources.ResourceLocation particle) voidvoidpot(Supplier<? extends net.minecraft.world.level.block.Block> block, net.minecraft.resources.ResourceLocation content) protected voidMethods inherited from class net.minecraftforge.client.model.generators.BlockStateProvider
axisBlock, axisBlock, axisBlock, axisBlock, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderType, axisBlockWithRenderTypeAndFast, axisBlockWithRenderTypeAndFast, axisBlockWithRenderTypeAndFast, axisBlockWithRenderTypeAndFast, axisBlockWithRenderTypeAndFast, axisBlockWithRenderTypeAndFast, blockTexture, buttonBlock, buttonBlock, cubeAll, directionalBlock, directionalBlock, directionalBlock, directionalBlock, doorBlock, doorBlock, doorBlock, doorBlockWithRenderType, doorBlockWithRenderType, doorBlockWithRenderType, doorBlockWithRenderType, doorBlockWithRenderTypeAndFast, doorBlockWithRenderTypeAndFast, doorBlockWithRenderTypeAndFast, doorBlockWithRenderTypeAndFast, fenceBlock, fenceBlock, fenceBlockWithRenderType, fenceBlockWithRenderType, fenceBlockWithRenderType, fenceBlockWithRenderType, fenceBlockWithRenderTypeAndFast, fenceBlockWithRenderTypeAndFast, fenceBlockWithRenderTypeAndFast, fenceBlockWithRenderTypeAndFast, fenceGateBlock, fenceGateBlock, fenceGateBlock, fenceGateBlockWithRenderType, fenceGateBlockWithRenderType, fenceGateBlockWithRenderType, fenceGateBlockWithRenderType, fenceGateBlockWithRenderTypeAndFast, fenceGateBlockWithRenderTypeAndFast, fenceGateBlockWithRenderTypeAndFast, fenceGateBlockWithRenderTypeAndFast, fourWayBlock, fourWayMultipart, getMultipartBuilder, getName, getVariantBuilder, horizontalBlock, horizontalBlock, horizontalBlock, horizontalBlock, horizontalBlock, horizontalFaceBlock, horizontalFaceBlock, horizontalFaceBlock, horizontalFaceBlock, itemModels, logBlock, logBlockWithRenderType, logBlockWithRenderType, logBlockWithRenderType, logBlockWithRenderTypeAndFast, mcLoc, models, modLoc, paneBlock, paneBlock, paneBlock, paneBlockWithRenderType, paneBlockWithRenderType, paneBlockWithRenderType, paneBlockWithRenderType, paneBlockWithRenderTypeAndFast, paneBlockWithRenderTypeAndFast, paneBlockWithRenderTypeAndFast, paneBlockWithRenderTypeAndFast, pressurePlateBlock, pressurePlateBlock, run, signBlock, signBlock, simpleBlock, simpleBlock, simpleBlock, simpleBlock, simpleBlockItem, simpleBlockWithItem, slabBlock, slabBlock, slabBlock, stairsBlock, stairsBlock, stairsBlock, stairsBlock, stairsBlock, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderType, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, stairsBlockWithRenderTypeAndFast, trapdoorBlock, trapdoorBlock, trapdoorBlock, trapdoorBlockWithRenderType, trapdoorBlockWithRenderType, trapdoorBlockWithRenderType, trapdoorBlockWithRenderType, trapdoorBlockWithRenderTypeAndFast, trapdoorBlockWithRenderTypeAndFast, trapdoorBlockWithRenderTypeAndFast, trapdoorBlockWithRenderTypeAndFast, wallBlock, wallBlock, wallBlock, wallBlockWithRenderType, wallBlockWithRenderType, wallBlockWithRenderType, wallBlockWithRenderType, wallBlockWithRenderTypeAndFast, wallBlockWithRenderTypeAndFast, wallBlockWithRenderTypeAndFast, wallBlockWithRenderTypeAndFast
-
Constructor Details
-
FWBlockstateGen
public FWBlockstateGen(net.minecraft.data.PackOutput output, String modid, net.minecraftforge.common.data.ExistingFileHelper existingFileHelper)
-
-
Method Details
-
registerStatesAndModels
protected void registerStatesAndModels()- Specified by:
registerStatesAndModelsin classnet.minecraftforge.client.model.generators.BlockStateProvider
-
itemName
-
itemNamePath
-
blockName
-
builtinModel
-
blockParentModel
-
justParticle
-
justParticle
public void justParticle(Supplier<? extends net.minecraft.world.level.block.Block> block, net.minecraft.resources.ResourceLocation particle) -
justParticle
public void justParticle(Supplier<? extends net.minecraft.world.level.block.Block> block, net.minecraft.resources.ResourceLocation blockModel, net.minecraft.resources.ResourceLocation particle) -
justParticle
-
pot
-
pot
public void pot(Supplier<? extends net.minecraft.world.level.block.Block> block, net.minecraft.resources.ResourceLocation content) -
emptyPot
-
contentPot
public net.minecraftforge.client.model.generators.ModelFile contentPot(String name, net.minecraft.resources.ResourceLocation texture) -
generatedItem
public net.minecraftforge.client.model.generators.ItemModelBuilder generatedItem(Supplier<? extends net.minecraft.world.item.Item> item) -
generatedItem
-