Class EBDataGenProcessor
java.lang.Object
com.binaris.wizardry.setup.datagen.EBDataGenProcessor
Electroblob's Wizardry Internal Use Only
This is the main class that handles the basic data gen features for the mod we use this to register all the just-one-file or small models with a generic behaviour.
Some of the things that are made here are: items with just a simple texture, block items with a simple model and block states and also register the mods features that are frequently used but have the same behaviour among them, like wand items
This is the main class that handles the basic data gen features for the mod we use this to register all the just-one-file or small models with a generic behaviour.
Some of the things that are made here are: items with just a simple texture, block items with a simple model and block states and also register the mods features that are frequently used but have the same behaviour among them, like wand items
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddDefaultBlockDrop(String name, DeferredObject<net.minecraft.world.level.block.Block> blockDrop) Blocks that should drop itselfstatic voidaddDefaultBlockModel(String name, DeferredObject<net.minecraft.world.level.block.Block> blockModel) Makes the block have a normal block item model and block statestatic voidaddDefaultItem(String name, DeferredObject<? extends net.minecraft.world.item.Item> item) Default item with just a png as a model and texturestatic voidaddWandItem(String name, DeferredObject<? extends net.minecraft.world.item.Item> item) Makes a regular wand item with the custom point modelstatic Map<String,DeferredObject<net.minecraft.world.level.block.Block>> static Map<String,DeferredObject<net.minecraft.world.level.block.Block>> static Map<String,DeferredObject<? extends net.minecraft.world.item.Item>> items()static Map<String,DeferredObject<? extends net.minecraft.world.item.Item>>
-
Method Details
-
addDefaultItem
public static void addDefaultItem(String name, DeferredObject<? extends net.minecraft.world.item.Item> item) Default item with just a png as a model and texture -
addWandItem
public static void addWandItem(String name, DeferredObject<? extends net.minecraft.world.item.Item> item) Makes a regular wand item with the custom point model -
addDefaultBlockModel
public static void addDefaultBlockModel(String name, DeferredObject<net.minecraft.world.level.block.Block> blockModel) Makes the block have a normal block item model and block state -
addDefaultBlockDrop
public static void addDefaultBlockDrop(String name, DeferredObject<net.minecraft.world.level.block.Block> blockDrop) Blocks that should drop itself -
items
-
wandItems
-
defaultBlockModels
public static Map<String,DeferredObject<net.minecraft.world.level.block.Block>> defaultBlockModels() -
defaultBlockDrops
-