Package | Description |
---|---|
net.minecraft.block | |
net.minecraft.tileentity | |
net.minecraft.world | |
net.minecraftforge.common | |
net.minecraftforge.liquids |
Modifier and Type | Method and Description |
---|---|
boolean |
BlockFire.canBlockCatchFire(IBlockAccess world,
int x,
int y,
int z,
ForgeDirection face)
Side sensitive version that calls the block function.
|
boolean |
Block.canSustainPlant(World world,
int x,
int y,
int z,
ForgeDirection direction,
IPlantable plant)
Determines if this block can support the passed in plant, allowing it to be planted and grow.
|
int |
BlockFire.getChanceToEncourageFire(World world,
int x,
int y,
int z,
int oldChance,
ForgeDirection face)
Side sensitive version that calls the block function.
|
int |
Block.getFireSpreadSpeed(World world,
int x,
int y,
int z,
int metadata,
ForgeDirection face)
Called when fire is updating on a neighbor block.
|
int |
Block.getFlammability(IBlockAccess world,
int x,
int y,
int z,
int metadata,
ForgeDirection face)
Chance that fire will spread and consume this block.
|
boolean |
Block.isBlockSolidOnSide(World world,
int x,
int y,
int z,
ForgeDirection side)
Checks if the block is a solid face on the given side, used by placement logic.
|
boolean |
Block.isFireSource(World world,
int x,
int y,
int z,
int metadata,
ForgeDirection side)
Currently only called by fire when it is on top of this block.
|
boolean |
Block.isFlammable(IBlockAccess world,
int x,
int y,
int z,
int metadata,
ForgeDirection face)
Called when fire is updating, checks if a block face can catch fire.
|
Modifier and Type | Method and Description |
---|---|
int |
TileEntityFurnace.getSizeInventorySide(ForgeDirection side) |
int |
TileEntityFurnace.getStartInventorySide(ForgeDirection side)
This function is here for compatibilities sake, Modders should Check for
Sided before ContainerWorldly, Vanilla Minecraft does not follow the sided standard
that Modding has for a while.
|
Modifier and Type | Method and Description |
---|---|
boolean |
World.isBlockSolidOnSide(int x,
int y,
int z,
ForgeDirection side)
Determine if the given block is considered solid on the
specified side.
|
boolean |
World.isBlockSolidOnSide(int x,
int y,
int z,
ForgeDirection side,
boolean _default)
Determine if the given block is considered solid on the
specified side.
|
Modifier and Type | Field and Description |
---|---|
static ForgeDirection[] |
ForgeDirection.VALID_DIRECTIONS |
Modifier and Type | Method and Description |
---|---|
ForgeDirection |
ForgeDirection.getOpposite() |
static ForgeDirection |
ForgeDirection.getOrientation(int id) |
ForgeDirection |
ForgeDirection.getRotation(ForgeDirection axis) |
static ForgeDirection |
ForgeDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForgeDirection[] |
ForgeDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ForgeDirection |
ForgeDirection.getRotation(ForgeDirection axis) |
int |
ISidedInventory.getSizeInventorySide(ForgeDirection side)
Deprecated.
|
int |
ISidedInventory.getStartInventorySide(ForgeDirection side)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LiquidStack |
ITankContainer.drain(ForgeDirection from,
int maxDrain,
boolean doDrain)
Drains liquid out of internal tanks, distribution is left to the ITankContainer.
|
int |
ITankContainer.fill(ForgeDirection from,
LiquidStack resource,
boolean doFill)
Fills liquid into internal tanks, distribution is left to the ITankContainer.
|
ILiquidTank |
ITankContainer.getTank(ForgeDirection direction,
LiquidStack type)
Return the tank that this tank container desired to be used for the specified liquid type from the specified direction
|
ILiquidTank[] |
ITankContainer.getTanks(ForgeDirection direction) |