public class SpikedPlate extends ConfigurableBlockBasePressurePlate
eConfig, hasGui, POWEREDBLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, capturedDrops, captureDrops, delegate, enableStats, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, RANDOM, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, translucent, useNeighborBrightness| Constructor and Description |
|---|
SpikedPlate(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreatureSpawn(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.EntityLiving.SpawnPlacementType type) |
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
protected int |
computeRedstoneStrength(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
protected boolean |
damageEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
net.minecraft.util.BlockPos blockPos)
Damage the given entity.
|
static SpikedPlate |
getInstance()
Get the unique instance.
|
protected int |
getRedstoneStrength(net.minecraft.block.state.IBlockState blockState) |
void |
setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos) |
protected net.minecraft.block.state.IBlockState |
setRedstoneStrength(net.minecraft.block.state.IBlockState blockState,
int meta) |
createBlockState, getConfig, hasGui, onNeighborBlockChangebreakBlock, canProvidePower, getCollisionBoundingBox, getMobilityFlag, getSensitiveAABB, isFullCube, isOpaqueCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, onEntityCollidedWithBlock, randomTick, setBlockBoundsBasedOnState0, setBlockBoundsForItemRender, tickRate, updateNeighbors, updateState, updateTickaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMetaFromState, getMixedBrightnessForBlock, getOffsetType, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateFromMeta, getStateId, 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, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntitypublic SpikedPlate(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static SpikedPlate getInstance()
public boolean canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
canPlaceBlockAt in class net.minecraft.block.BlockBasePressurePlateprotected boolean damageEntity(net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
net.minecraft.util.BlockPos blockPos)
world - The world.entity - The entity.blockPos - The position.protected int computeRedstoneStrength(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
computeRedstoneStrength in class net.minecraft.block.BlockBasePressurePlateprotected int getRedstoneStrength(net.minecraft.block.state.IBlockState blockState)
getRedstoneStrength in class net.minecraft.block.BlockBasePressurePlateprotected net.minecraft.block.state.IBlockState setRedstoneStrength(net.minecraft.block.state.IBlockState blockState,
int meta)
setRedstoneStrength in class net.minecraft.block.BlockBasePressurePlatepublic void setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
setBlockBoundsBasedOnState in class net.minecraft.block.BlockBasePressurePlatepublic boolean canCreatureSpawn(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.EntityLiving.SpawnPlacementType type)
canCreatureSpawn in class net.minecraft.block.Block