public class SpikedPlate extends ConfigurableBlockBasePressurePlate
eConfig, hasGui, POWEREDPRESSED_AABB, PRESSURE_AABB, UNPRESSED_AABBBLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, displayOnCreativeTab, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, 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.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.EntityLiving.SpawnPlacementType type) |
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
protected int |
computeRedstoneStrength(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
protected boolean |
damageEntity(net.minecraft.world.WorldServer world,
net.minecraft.entity.Entity entity,
net.minecraft.util.math.BlockPos blockPos)
Damage the given entity.
|
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos) |
static SpikedPlate |
getInstance()
Get the unique instance.
|
protected int |
getRedstoneStrength(net.minecraft.block.state.IBlockState blockState) |
protected void |
playClickOffSound(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
protected void |
playClickOnSound(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos color) |
protected net.minecraft.block.state.IBlockState |
setRedstoneStrength(net.minecraft.block.state.IBlockState blockState,
int meta) |
createBlockState, getBlockColorHandler, getConfig, hasGui, neighborChangedbreakBlock, canProvidePower, canSpawnInBlock, getCollisionBoundingBox, getMobilityFlag, getStrongPower, getWeakPower, isFullCube, isOpaqueCube, isPassable, onEntityCollidedWithBlock, randomTick, tickRate, updateNeighbors, updateState, updateTickaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMetaFromState, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSoundType, getSoundType, getStateById, getStateFromMeta, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullyOpaque, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toString, withMirror, withRotationpublic 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.math.BlockPos blockPos)
canPlaceBlockAt in class net.minecraft.block.BlockBasePressurePlateprotected void playClickOnSound(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos color)
playClickOnSound in class net.minecraft.block.BlockBasePressurePlateprotected void playClickOffSound(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
playClickOffSound in class net.minecraft.block.BlockBasePressurePlateprotected boolean damageEntity(net.minecraft.world.WorldServer world,
net.minecraft.entity.Entity entity,
net.minecraft.util.math.BlockPos blockPos)
world - The world.entity - The entity.blockPos - The position.protected int computeRedstoneStrength(net.minecraft.world.World world,
net.minecraft.util.math.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 net.minecraft.util.math.AxisAlignedBB getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos)
getBoundingBox in class net.minecraft.block.BlockBasePressurePlatepublic boolean canCreatureSpawn(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.EntityLiving.SpawnPlacementType type)
canCreatureSpawn in class net.minecraft.block.Block