public class ReinforcedUndeadPlank extends ConfigurableBlock implements CubeDetector.IDetectionListener
eConfig, isInventoryBlock, pass, rendererblockConstructorCalled, 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 |
|---|---|
boolean |
canCreatureSpawn(net.minecraft.entity.EnumCreatureType creatureType,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
static ReinforcedUndeadPlank |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
boolean |
isOpaqueCube() |
boolean |
onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int side,
float posX,
float posY,
float posZ) |
void |
onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
onBlockPreDestroy(net.minecraft.world.World world,
int x,
int y,
int z,
int meta) |
void |
onDetect(net.minecraft.world.World world,
ILocation location,
Size size,
boolean valid,
ILocation originCorner)
Called when a new structure has been detected.
|
boolean |
renderAsNormalBlock() |
getConfig, getIcon, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, registerBlockIcons, setHarvestLevelDefined, setInventoryBlock, setRenderBlocks, setRenderPass, shouldRender, updateTileEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, 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, getBlockColor, 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, getSelectedBoundingBoxFromPool, getSubBlocks, 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, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static ReinforcedUndeadPlank getInstance()
public net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class ConfigurableBlockpublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.Blockpublic boolean renderAsNormalBlock()
renderAsNormalBlock in class net.minecraft.block.Blockpublic boolean canCreatureSpawn(net.minecraft.entity.EnumCreatureType creatureType,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
canCreatureSpawn in class net.minecraft.block.Blockpublic void onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z)
onBlockAdded in class net.minecraft.block.Blockpublic void onBlockPreDestroy(net.minecraft.world.World world,
int x,
int y,
int z,
int meta)
onBlockPreDestroy in class net.minecraft.block.Blockpublic void onDetect(net.minecraft.world.World world,
ILocation location,
Size size,
boolean valid,
ILocation originCorner)
CubeDetector.IDetectionListeneronDetect in interface CubeDetector.IDetectionListenerworld - The world.location - The location of a block of the structure.size - The size of the structure.valid - True if the structure should be validated, false if it should be invalidated.originCorner - The origin corner block of the structure.public boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int side,
float posX,
float posY,
float posZ)
onBlockActivated in class net.minecraft.block.Block