public class SpikedPlate extends ConfigurableBlockBasePressurePlate
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.IIcon |
blockIconSide |
eConfigblockConstructorCalled, 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 type,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
int x,
int y,
int z) |
protected boolean |
damageEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int x,
int y,
int z)
Damage the given entity.
|
protected int |
func_150060_c(int meta) |
protected int |
func_150065_e(net.minecraft.world.World world,
int x,
int y,
int z) |
protected int |
func_150066_d(int meta) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
static SpikedPlate |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
protected void |
setMetaBlockBounds(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int meta) |
getConfig, getTextureName, onNeighborBlockChange, setBlockBoundsBasedOnStatebreakBlock, canProvidePower, func_150061_a, func_150062_a, func_150063_b, func_150064_a_, getBlocksMovement, getCollisionBoundingBoxFromPool, getMobilityFlag, isOpaqueCube, isProvidingStrongPower, isProvidingWeakPower, onEntityCollidedWithBlock, renderAsNormalBlock, setBlockBoundsForItemRender, tickRate, updateTickaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, 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, getBlockTextureFromSide, getCanBlockGrass, 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, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getRenderType, 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, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static SpikedPlate getInstance()
public void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerBlockIcons in class ConfigurableBlockBasePressurePlatepublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class net.minecraft.block.Blockpublic boolean canPlaceBlockAt(net.minecraft.world.World world,
int x,
int y,
int z)
canPlaceBlockAt in class net.minecraft.block.BlockBasePressurePlateprotected boolean damageEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int x,
int y,
int z)
world - The world.entity - The entity.x - Xy - Yz - Zprotected int func_150065_e(net.minecraft.world.World world,
int x,
int y,
int z)
func_150065_e in class net.minecraft.block.BlockBasePressurePlateprotected int func_150060_c(int meta)
func_150060_c in class net.minecraft.block.BlockBasePressurePlateprotected int func_150066_d(int meta)
func_150066_d in class net.minecraft.block.BlockBasePressurePlateprotected void setMetaBlockBounds(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int meta)
setMetaBlockBounds in class ConfigurableBlockBasePressurePlatepublic boolean canCreatureSpawn(net.minecraft.entity.EnumCreatureType type,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
canCreatureSpawn in class net.minecraft.block.Block