public class CompatHooks
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CompatHooks |
INSTANCE |
| Constructor and Description |
|---|
CompatHooks() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.Block |
getBlock(java.lang.Class<? extends net.minecraft.block.Block> klazz) |
IInjectable |
getInjectableWrapper(net.minecraft.tileentity.TileEntity tile,
net.minecraftforge.common.util.ForgeDirection side) |
java.lang.Class<? extends net.minecraft.tileentity.TileEntity> |
getTile(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> klazz) |
net.minecraft.block.Block |
getVisualBlock(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side) |
int |
getVisualMeta(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side) |
public static final CompatHooks INSTANCE
public IInjectable getInjectableWrapper(net.minecraft.tileentity.TileEntity tile, net.minecraftforge.common.util.ForgeDirection side)
public net.minecraft.block.Block getVisualBlock(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side)
public int getVisualMeta(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side)
public net.minecraft.block.Block getBlock(java.lang.Class<? extends net.minecraft.block.Block> klazz)
public java.lang.Class<? extends net.minecraft.tileentity.TileEntity> getTile(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> klazz)