public class AssetLookup
extends java.lang.Object
| Constructor and Description |
|---|
AssetLookup() |
| Modifier and Type | Method and Description |
|---|---|
static <I extends net.minecraft.item.BlockItem> |
customBlockItemModel(java.lang.String... folders)
Generate item model inheriting from a seperate model in
models/block/folders[0]/folders[1]/.../item.json "_" will be replaced by the
item name
|
static <I extends net.minecraft.item.Item> |
customGenericItemModel(java.lang.String... folders) |
static <I extends net.minecraft.item.BlockItem> |
customItemModel(com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,I> ctx,
com.tterrag.registrate.providers.RegistrateItemModelProvider prov)
Generate item model inheriting from a seperate model in
models/block/x/item.json
|
static <T extends net.minecraft.item.Item> |
existingItemModel() |
static java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> |
forPowered(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov) |
static java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> |
forPowered(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov,
java.lang.String path) |
static java.lang.String |
getOxidizedModel(java.lang.String name,
int level) |
static <T extends net.minecraft.item.Item> |
itemModel(java.lang.String name) |
static <T extends net.minecraft.item.Item> |
itemModelWithPartials() |
static net.minecraftforge.client.model.generators.ModelFile |
partialBaseModel(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov,
java.lang.String... suffix)
Custom block models packaged with other partials.
|
static net.minecraftforge.client.model.generators.ModelFile |
standardModel(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov)
Custom block model from models/block/x.json
|
static java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> |
withIndicator(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov,
java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> baseModelFunc,
net.minecraft.state.IntegerProperty property) |
public static net.minecraftforge.client.model.generators.ModelFile partialBaseModel(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov,
java.lang.String... suffix)
public static net.minecraftforge.client.model.generators.ModelFile standardModel(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov)
public static <I extends net.minecraft.item.BlockItem> net.minecraftforge.client.model.generators.ItemModelBuilder customItemModel(com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,I> ctx,
com.tterrag.registrate.providers.RegistrateItemModelProvider prov)
public static <I extends net.minecraft.item.BlockItem> com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,I>,com.tterrag.registrate.providers.RegistrateItemModelProvider> customBlockItemModel(java.lang.String... folders)
public static <I extends net.minecraft.item.Item> com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,I>,com.tterrag.registrate.providers.RegistrateItemModelProvider> customGenericItemModel(java.lang.String... folders)
public static java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> forPowered(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov)
public static java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> forPowered(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov,
java.lang.String path)
public static java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> withIndicator(com.tterrag.registrate.providers.DataGenContext<?,?> ctx,
com.tterrag.registrate.providers.RegistrateBlockstateProvider prov,
java.util.function.Function<net.minecraft.block.BlockState,net.minecraftforge.client.model.generators.ModelFile> baseModelFunc,
net.minecraft.state.IntegerProperty property)
public static java.lang.String getOxidizedModel(java.lang.String name,
int level)
public static <T extends net.minecraft.item.Item> com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,T>,com.tterrag.registrate.providers.RegistrateItemModelProvider> existingItemModel()
public static <T extends net.minecraft.item.Item> com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,T>,com.tterrag.registrate.providers.RegistrateItemModelProvider> itemModel(java.lang.String name)
public static <T extends net.minecraft.item.Item> com.tterrag.registrate.util.nullness.NonNullBiConsumer<com.tterrag.registrate.providers.DataGenContext<net.minecraft.item.Item,T>,com.tterrag.registrate.providers.RegistrateItemModelProvider> itemModelWithPartials()