Class ConnectingModelBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelFile
net.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>
com.supermartijn642.rechiseled.api.ConnectingModelBuilder
@Deprecated(forRemoval=true)
@ScheduledForRemoval(inVersion="1.2.0")
public class ConnectingModelBuilder
extends net.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>
Deprecated, for removal: This API element is subject to removal in a future version.
Created 24/01/2022 by SuperMartijn642
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.model.generators.ModelBuilder
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder, net.minecraftforge.client.model.generators.ModelBuilder.FaceRotation, net.minecraftforge.client.model.generators.ModelBuilder.RootTransformsBuilder, net.minecraftforge.client.model.generators.ModelBuilder.TransformsBuilderNested classes/interfaces inherited from class net.minecraftforge.client.model.generators.ModelFile
net.minecraftforge.client.model.generators.ModelFile.ExistingModelFile, net.minecraftforge.client.model.generators.ModelFile.UncheckedModelFile -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class net.minecraftforge.client.model.generators.ModelBuilder
ambientOcclusion, customLoader, elements, existingFileHelper, guiLight, parent, renderType, textures, transformsFields inherited from class net.minecraftforge.client.model.generators.ModelFile
location -
Constructor Summary
ConstructorsConstructorDescriptionConnectingModelBuilder(net.minecraft.resources.ResourceLocation outputLocation, net.minecraftforge.common.data.ExistingFileHelper existingFileHelper) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Indicate that any connecting textures should connect to touching blocks.connectToOtherBlocks(boolean connect) Deprecated, for removal: This API element is subject to removal in a future version.Indicate whether any connecting textures should connect to touching blocks.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Set the texture for a given dictionary key.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Set the texture for a given dictionary key.com.google.gson.JsonObjecttoJson()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class net.minecraftforge.client.model.generators.ModelBuilder
ao, customLoader, element, element, exists, getElementCount, guiLight, parent, renderType, renderType, rootTransforms, transformsMethods inherited from class net.minecraftforge.client.model.generators.ModelFile
assertExistence, getLocation, getUncheckedLocation
-
Field Details
-
connectingTextures
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ConnectingModelBuilder
public ConnectingModelBuilder(net.minecraft.resources.ResourceLocation outputLocation, net.minecraftforge.common.data.ExistingFileHelper existingFileHelper) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
connectToOtherBlocks
Deprecated, for removal: This API element is subject to removal in a future version.Indicate that any connecting textures should connect to touching blocks. -
connectToOtherBlocks
Deprecated, for removal: This API element is subject to removal in a future version.Indicate whether any connecting textures should connect to touching blocks. If false, any connecting textures will show their top left texture (the fully bordered one). -
texture
Deprecated, for removal: This API element is subject to removal in a future version.Set the texture for a given dictionary key.- Parameters:
key- the texture keytexture- the texture, can be another reference e.g. '#all'isConnectingTexture- whether the texture is a connecting texture- Throws:
NullPointerException- whenkeyisnullNullPointerException- whentextureisnullIllegalStateException- whentextureis not a reference (does not start with '#') and does not existIllegalArgumentException- whentextureis a reference (starts with '#') andisConnectingTextureistrue
-
texture
public ConnectingModelBuilder texture(String key, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.Set the texture for a given dictionary key.- Parameters:
key- the texture keytexture- the textureisConnectingTexture- whether the texture is a connecting texture- Throws:
NullPointerException- whenkeyisnullNullPointerException- whentextureisnullIllegalStateException- whentexturedoes not exist
-
texture
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
texturein classnet.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>
-
texture
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
texturein classnet.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>
-
toJson
public com.google.gson.JsonObject toJson()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toJsonin classnet.minecraftforge.client.model.generators.ModelBuilder<ConnectingModelBuilder>
-