public final class FakeBlock extends net.minecraft.block.Block implements ITextureStates
| Modifier and Type | Field and Description |
|---|---|
static FakeBlock |
INSTANCE |
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, delegate, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness| Modifier and Type | Method and Description |
|---|---|
int |
colorMultiplier(net.minecraft.world.IBlockAccess blockAccess,
int x,
int y,
int z) |
net.minecraft.block.Block |
getBlock() |
int |
getBlockColor() |
int |
getColor()
Deprecated.
|
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
TextureStateManager |
getTextureState() |
void |
setColor(int color) |
void |
setRenderAllSides() |
void |
setRenderMask(int mask) |
void |
setRenderSide(net.minecraftforge.common.util.ForgeDirection side,
boolean render) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess blockAccess,
int x,
int y,
int z,
int side) |
addCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlockIcons, registerBlocks, removedByPlayer, removedByPlayer, renderAsNormalBlock, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, tickRate, updateTick, velocityToAddToEntitypublic static final FakeBlock INSTANCE
public int colorMultiplier(net.minecraft.world.IBlockAccess blockAccess,
int x,
int y,
int z)
colorMultiplier in class net.minecraft.block.Block@Deprecated public int getColor()
public int getBlockColor()
getBlockColor in class net.minecraft.block.Blockpublic void setColor(int color)
public TextureStateManager getTextureState()
getTextureState in interface ITextureStatespublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in interface ITextureStatesgetIcon in class net.minecraft.block.Blockpublic void setRenderSide(net.minecraftforge.common.util.ForgeDirection side,
boolean render)
setRenderSide in interface ICullablepublic void setRenderAllSides()
setRenderAllSides in interface ICullablepublic void setRenderMask(int mask)
setRenderMask in interface ICullablepublic net.minecraft.block.Block getBlock()
getBlock in interface ITextureStatespublic boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess blockAccess,
int x,
int y,
int z,
int side)
shouldSideBeRendered in interface ICullableshouldSideBeRendered in class net.minecraft.block.Block