Class ConnectingBlockModelProvider
java.lang.Object
net.minecraftforge.client.model.generators.ModelProvider<ConnectingModelBuilder>
com.supermartijn642.rechiseled.api.ConnectingBlockModelProvider
- All Implemented Interfaces:
net.minecraft.data.DataProvider
@Deprecated(forRemoval=true)
@ScheduledForRemoval(inVersion="1.2.0")
public abstract class ConnectingBlockModelProvider
extends net.minecraftforge.client.model.generators.ModelProvider<ConnectingModelBuilder>
Deprecated, for removal: This API element is subject to removal in a future version.
use Fusion instead
Created 24/01/2022 by SuperMartijn642
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
Fields inherited from class net.minecraftforge.client.model.generators.ModelProvider
BLOCK_FOLDER, existingFileHelper, factory, folder, generatedModels, ITEM_FOLDER, MODEL, MODEL_WITH_EXTENSION, modid, output, TEXTUREFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionConnectingBlockModelProvider(String modid, net.minecraft.data.DataGenerator generator, 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.protected abstract voidDeprecated, for removal: This API element is subject to removal in a future version.All functions inModelBuilderhave been adapted to also have an 'isConnectingTexture' argument.cube(String name, net.minecraft.resources.ResourceLocation down, boolean downConnecting, net.minecraft.resources.ResourceLocation up, boolean upConnecting, net.minecraft.resources.ResourceLocation north, boolean northConnecting, net.minecraft.resources.ResourceLocation south, boolean southConnecting, net.minecraft.resources.ResourceLocation east, boolean eastConnecting, net.minecraft.resources.ResourceLocation west, boolean westConnecting) 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.cubeBottomTop(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.cubeColumn(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation end, boolean endConnecting) Deprecated, for removal: This API element is subject to removal in a future version.cubeColumnHorizontal(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation end, boolean endConnecting) Deprecated, for removal: This API element is subject to removal in a future version.cubeTop(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.doorBottomLeft(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.doorBottomRight(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.doorTopLeft(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.doorTopRight(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.fenceGate(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.fenceGateOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.fenceGateWall(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.fenceGateWallOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.fencePost(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.fenceSide(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.getName()Deprecated, for removal: This API element is subject to removal in a future version.orientable(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation front, boolean frontConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.orientableVertical(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation front, boolean frontConnecting) Deprecated, for removal: This API element is subject to removal in a future version.orientableWithBottom(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation front, boolean frontConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.paneNoSide(String name, net.minecraft.resources.ResourceLocation pane, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.paneNoSideAlt(String name, net.minecraft.resources.ResourceLocation pane, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.panePost(String name, net.minecraft.resources.ResourceLocation pane, boolean paneConnecting, net.minecraft.resources.ResourceLocation edge, boolean edgeConnecting) Deprecated, for removal: This API element is subject to removal in a future version.paneSide(String name, net.minecraft.resources.ResourceLocation pane, boolean paneConnecting, net.minecraft.resources.ResourceLocation edge, boolean edgeConnecting) Deprecated, for removal: This API element is subject to removal in a future version.paneSideAlt(String name, net.minecraft.resources.ResourceLocation pane, boolean paneConnecting, net.minecraft.resources.ResourceLocation edge, boolean edgeConnecting) Deprecated, for removal: This API element is subject to removal in a future version.protected final voidDeprecated, for removal: This API element is subject to removal in a future version.singleTexture(String name, net.minecraft.resources.ResourceLocation parent, String textureKey, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.singleTexture(String name, net.minecraft.resources.ResourceLocation parent, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.slab(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.slabTop(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.stairs(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.stairsInner(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.stairsOuter(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version.trapdoorBottom(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.trapdoorOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.trapdoorOrientableBottom(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.trapdoorOrientableOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.trapdoorOrientableTop(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.trapdoorTop(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) 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.Deprecated, for removal: This API element is subject to removal in a future version.wallSideTall(String name, net.minecraft.resources.ResourceLocation wall, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class net.minecraftforge.client.model.generators.ModelProvider
button, buttonInventory, buttonPressed, carpet, clear, crop, cross, cube, cubeAll, cubeBottomTop, cubeColumn, cubeColumnHorizontal, cubeTop, doorBottomLeft, doorBottomLeftOpen, doorBottomRight, doorBottomRightOpen, doorTopLeft, doorTopLeftOpen, doorTopRight, doorTopRightOpen, fenceGate, fenceGateOpen, fenceGateWall, fenceGateWallOpen, fenceInventory, fencePost, fenceSide, generateAll, getBuilder, getExistingFile, getPath, mcLoc, modLoc, nested, orientable, orientableVertical, orientableWithBottom, paneNoSide, paneNoSideAlt, panePost, paneSide, paneSideAlt, pressurePlate, pressurePlateDown, run, sign, singleTexture, singleTexture, slab, slabTop, stairs, stairsInner, stairsOuter, torch, torchWall, trapdoorBottom, trapdoorOpen, trapdoorOrientableBottom, trapdoorOrientableOpen, trapdoorOrientableTop, trapdoorTop, wallInventory, wallPost, wallSide, wallSideTall, withExistingParent, withExistingParent
-
Constructor Details
-
ConnectingBlockModelProvider
public ConnectingBlockModelProvider(String modid, net.minecraft.data.DataGenerator generator, net.minecraftforge.common.data.ExistingFileHelper existingFileHelper) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getName
Deprecated, for removal: This API element is subject to removal in a future version. -
registerModels
protected final void registerModels()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
registerModelsin classnet.minecraftforge.client.model.generators.ModelProvider<ConnectingModelBuilder>
-
createModels
protected abstract void createModels()Deprecated, for removal: This API element is subject to removal in a future version.All functions inModelBuilderhave been adapted to also have an 'isConnectingTexture' argument. The 'isConnectingTexture' argument can be used for connecting textures.ConnectingModelBuilder.connectToOtherBlocks(boolean)can be used to set whether connecting textures is the model should connect. If false, connecting textures will simply use their top left texture (the fully bordered one). -
cube
public ConnectingModelBuilder cube(String name, net.minecraft.resources.ResourceLocation down, boolean downConnecting, net.minecraft.resources.ResourceLocation up, boolean upConnecting, net.minecraft.resources.ResourceLocation north, boolean northConnecting, net.minecraft.resources.ResourceLocation south, boolean southConnecting, net.minecraft.resources.ResourceLocation east, boolean eastConnecting, net.minecraft.resources.ResourceLocation west, boolean westConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
singleTexture
public ConnectingModelBuilder singleTexture(String name, net.minecraft.resources.ResourceLocation parent, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
singleTexture
public ConnectingModelBuilder singleTexture(String name, net.minecraft.resources.ResourceLocation parent, String textureKey, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
cubeAll
public ConnectingModelBuilder cubeAll(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
cubeTop
public ConnectingModelBuilder cubeTop(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
cubeBottomTop
public ConnectingModelBuilder cubeBottomTop(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
cubeColumn
public ConnectingModelBuilder cubeColumn(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation end, boolean endConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
cubeColumnHorizontal
public ConnectingModelBuilder cubeColumnHorizontal(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation end, boolean endConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
orientableVertical
public ConnectingModelBuilder orientableVertical(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation front, boolean frontConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
orientableWithBottom
public ConnectingModelBuilder orientableWithBottom(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation front, boolean frontConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
orientable
public ConnectingModelBuilder orientable(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation front, boolean frontConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
stairs
public ConnectingModelBuilder stairs(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
stairsOuter
public ConnectingModelBuilder stairsOuter(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
stairsInner
public ConnectingModelBuilder stairsInner(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
slab
public ConnectingModelBuilder slab(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
slabTop
public ConnectingModelBuilder slabTop(String name, net.minecraft.resources.ResourceLocation side, boolean sideConnecting, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
fencePost
public ConnectingModelBuilder fencePost(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
fenceSide
public ConnectingModelBuilder fenceSide(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
fenceGate
public ConnectingModelBuilder fenceGate(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
fenceGateOpen
public ConnectingModelBuilder fenceGateOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
fenceGateWall
public ConnectingModelBuilder fenceGateWall(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
fenceGateWallOpen
public ConnectingModelBuilder fenceGateWallOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
wallPost
public ConnectingModelBuilder wallPost(String name, net.minecraft.resources.ResourceLocation wall, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
wallSide
public ConnectingModelBuilder wallSide(String name, net.minecraft.resources.ResourceLocation wall, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
wallSideTall
public ConnectingModelBuilder wallSideTall(String name, net.minecraft.resources.ResourceLocation wall, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
panePost
public ConnectingModelBuilder panePost(String name, net.minecraft.resources.ResourceLocation pane, boolean paneConnecting, net.minecraft.resources.ResourceLocation edge, boolean edgeConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
paneSide
public ConnectingModelBuilder paneSide(String name, net.minecraft.resources.ResourceLocation pane, boolean paneConnecting, net.minecraft.resources.ResourceLocation edge, boolean edgeConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
paneSideAlt
public ConnectingModelBuilder paneSideAlt(String name, net.minecraft.resources.ResourceLocation pane, boolean paneConnecting, net.minecraft.resources.ResourceLocation edge, boolean edgeConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
paneNoSide
public ConnectingModelBuilder paneNoSide(String name, net.minecraft.resources.ResourceLocation pane, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
paneNoSideAlt
public ConnectingModelBuilder paneNoSideAlt(String name, net.minecraft.resources.ResourceLocation pane, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
doorBottomLeft
public ConnectingModelBuilder doorBottomLeft(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
doorBottomRight
public ConnectingModelBuilder doorBottomRight(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
doorTopLeft
public ConnectingModelBuilder doorTopLeft(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
doorTopRight
public ConnectingModelBuilder doorTopRight(String name, net.minecraft.resources.ResourceLocation bottom, boolean bottomConnecting, net.minecraft.resources.ResourceLocation top, boolean topConnecting) Deprecated, for removal: This API element is subject to removal in a future version. -
trapdoorBottom
public ConnectingModelBuilder trapdoorBottom(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
trapdoorTop
public ConnectingModelBuilder trapdoorTop(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
trapdoorOpen
public ConnectingModelBuilder trapdoorOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
trapdoorOrientableBottom
public ConnectingModelBuilder trapdoorOrientableBottom(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
trapdoorOrientableTop
public ConnectingModelBuilder trapdoorOrientableTop(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
trapdoorOrientableOpen
public ConnectingModelBuilder trapdoorOrientableOpen(String name, net.minecraft.resources.ResourceLocation texture, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version. -
carpet
public ConnectingModelBuilder carpet(String name, net.minecraft.resources.ResourceLocation wool, boolean isConnectingTexture) Deprecated, for removal: This API element is subject to removal in a future version.
-