public class VanillaModelDataBuilderImpl extends java.lang.Object implements VanillaModelDataBuilder<VanillaModelDataBuilderImpl,net.minecraft.client.renderer.block.model.ModelBlock>
| Constructor and Description |
|---|
VanillaModelDataBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.renderer.block.model.ModelBlock |
build() |
VanillaModelDataBuilderImpl |
parent(net.minecraft.util.ResourceLocation parent)
Sets the parent model.
|
VanillaModelDataBuilderImpl |
texture(java.lang.String key,
net.minecraft.util.ResourceLocation texture)
Puts the given texture under the given key.
|
VanillaModelDataBuilderImpl |
texture(java.lang.String key,
java.lang.String reference)
Puts the given reference under the given key.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic VanillaModelDataBuilderImpl parent(net.minecraft.util.ResourceLocation parent)
VanillaModelDataBuilderparent in interface VanillaModelDataBuilder<VanillaModelDataBuilderImpl,net.minecraft.client.renderer.block.model.ModelBlock>public VanillaModelDataBuilderImpl texture(java.lang.String key, java.lang.String reference)
VanillaModelDataBuildertexture in interface VanillaModelDataBuilder<VanillaModelDataBuilderImpl,net.minecraft.client.renderer.block.model.ModelBlock>public VanillaModelDataBuilderImpl texture(java.lang.String key, net.minecraft.util.ResourceLocation texture)
VanillaModelDataBuildertexture in interface VanillaModelDataBuilder<VanillaModelDataBuilderImpl,net.minecraft.client.renderer.block.model.ModelBlock>public net.minecraft.client.renderer.block.model.ModelBlock build()
build in interface VanillaModelDataBuilder<VanillaModelDataBuilderImpl,net.minecraft.client.renderer.block.model.ModelBlock>