public class ExcrementPile
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlock
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyInteger |
LAYERS |
eConfig, hasGui, isInventoryBlock, passBLOCK_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 |
|---|
ExcrementPile(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHarvestBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player) |
boolean |
canHeightenPileAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
If the height of this blockState can be increased.
|
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
net.minecraft.util.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
protected int |
getHeight(net.minecraft.block.state.IBlockState blockState) |
static ExcrementPile |
getInstance()
Get the unique instance.
|
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero) |
void |
harvestBlock(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.tileentity.TileEntity tile) |
void |
heightenPileAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
Set the height of a pile.
|
boolean |
isNormalCube() |
boolean |
isOpaqueCube() |
boolean |
isPassable(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos) |
boolean |
isReplaceable(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
void |
onEntityCollidedWithBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.Entity entity) |
void |
onNeighborBlockChange(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block neighbourBlock) |
int |
quantityDropped(net.minecraft.block.state.IBlockState blockState,
int fortune,
java.util.Random random) |
int |
quantityDropped(java.util.Random random) |
void |
randomDisplayTick(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
java.util.Random random) |
void |
setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos) |
void |
setBlockBoundsForItemRender() |
protected void |
setBlockBoundsForPileDepth(net.minecraft.block.state.IBlockState blockState) |
protected void |
setBlockBoundsForPileDepth(int height) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.util.EnumFacing side) |
int |
tickRate(net.minecraft.world.World world) |
void |
updateTick(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
java.util.Random random) |
createBlockState, createDelegatedBlockState, createDynamicModel, getConfig, getMetaFromState, getStateFromMeta, hasDynamicModel, hasGui, onBlockPlaced, onModelBakeEventaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, 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, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isFullCube, isLadder, isLeaves, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDroppedWithBonus, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntitypublic ExcrementPile(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static ExcrementPile getInstance()
public net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.Blockpublic boolean isPassable(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos)
isPassable in class net.minecraft.block.Blockpublic net.minecraft.util.AxisAlignedBB getCollisionBoundingBox(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state)
getCollisionBoundingBox in class net.minecraft.block.Blockpublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isNormalCube()
isNormalCube in class net.minecraft.block.Blockpublic void setBlockBoundsForItemRender()
setBlockBoundsForItemRender in class net.minecraft.block.Blockpublic void setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
setBlockBoundsBasedOnState in class net.minecraft.block.Blockprotected void setBlockBoundsForPileDepth(int height)
protected int getHeight(net.minecraft.block.state.IBlockState blockState)
protected void setBlockBoundsForPileDepth(net.minecraft.block.state.IBlockState blockState)
public boolean canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
canPlaceBlockAt in class net.minecraft.block.Blockpublic boolean canHarvestBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
canHarvestBlock in class net.minecraft.block.Blockpublic void harvestBlock(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.tileentity.TileEntity tile)
harvestBlock in class net.minecraft.block.Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic int tickRate(net.minecraft.world.World world)
tickRate in class net.minecraft.block.Blockpublic void updateTick(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
java.util.Random random)
updateTick in class net.minecraft.block.Blockpublic void randomDisplayTick(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
java.util.Random random)
randomDisplayTick in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.util.EnumFacing side)
shouldSideBeRendered in class net.minecraft.block.Blockpublic int quantityDropped(net.minecraft.block.state.IBlockState blockState,
int fortune,
java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic boolean isReplaceable(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
isReplaceable in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block neighbourBlock)
onNeighborBlockChange in class net.minecraft.block.Blockpublic void onEntityCollidedWithBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.Entity entity)
onEntityCollidedWithBlock in class net.minecraft.block.Blockpublic boolean canHeightenPileAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
world - The WorldblockPos - The position.public void heightenPileAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
world - the WorldblockPos - The position.