@Deprecated public class ConnectingModelBuilder extends net.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder, net.minecraftforge.client.model.generators.ModelBuilder.FaceRotation, net.minecraftforge.client.model.generators.ModelBuilder.Perspective, net.minecraftforge.client.model.generators.ModelBuilder.TransformsBuilder| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Boolean> |
connectingTextures
Deprecated.
|
| Constructor and Description |
|---|
ConnectingModelBuilder(net.minecraft.util.ResourceLocation outputLocation,
net.minecraftforge.common.data.ExistingFileHelper existingFileHelper)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectingModelBuilder |
connectToOtherBlocks()
Deprecated.
Indicate that any connecting textures should connect to touching blocks.
|
ConnectingModelBuilder |
connectToOtherBlocks(boolean connect)
Deprecated.
Indicate whether any connecting textures should connect to touching blocks.
|
ConnectingModelBuilder |
texture(java.lang.String key,
net.minecraft.util.ResourceLocation texture)
Deprecated.
|
ConnectingModelBuilder |
texture(java.lang.String key,
net.minecraft.util.ResourceLocation texture,
boolean isConnectingTexture)
Deprecated.
Set the texture for a given dictionary key.
|
ConnectingModelBuilder |
texture(java.lang.String key,
java.lang.String texture)
Deprecated.
|
ConnectingModelBuilder |
texture(java.lang.String key,
java.lang.String texture,
boolean isConnectingTexture)
Deprecated.
Set the texture for a given dictionary key.
|
com.google.gson.JsonObject |
toJson()
Deprecated.
|
ao, customLoader, element, element, exists, getElementCount, gui3d, guiLight, parent, transformsprotected final java.util.Map<java.lang.String,java.lang.Boolean> connectingTextures
public ConnectingModelBuilder(net.minecraft.util.ResourceLocation outputLocation,
net.minecraftforge.common.data.ExistingFileHelper existingFileHelper)
public ConnectingModelBuilder connectToOtherBlocks()
public ConnectingModelBuilder connectToOtherBlocks(boolean connect)
public ConnectingModelBuilder texture(java.lang.String key, java.lang.String texture, boolean isConnectingTexture)
key - the texture keytexture - the texture, can be another reference e.g. '#all'isConnectingTexture - whether the texture is a connecting texturejava.lang.NullPointerException - when key is nulljava.lang.NullPointerException - when texture is nulljava.lang.IllegalStateException - when texture is not a reference (does not start
with '#') and does not existjava.lang.IllegalArgumentException - when texture is a reference (starts
with '#') and isConnectingTexture is truepublic ConnectingModelBuilder texture(java.lang.String key, net.minecraft.util.ResourceLocation texture, boolean isConnectingTexture)
key - the texture keytexture - the textureisConnectingTexture - whether the texture is a connecting texturejava.lang.NullPointerException - when key is nulljava.lang.NullPointerException - when texture is nulljava.lang.IllegalStateException - when texture does not existpublic ConnectingModelBuilder texture(java.lang.String key, java.lang.String texture)
texture in class net.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>public ConnectingModelBuilder texture(java.lang.String key, net.minecraft.util.ResourceLocation texture)
texture in class net.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>public com.google.gson.JsonObject toJson()
toJson in class net.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>