public class BlockFruitPod extends net.minecraft.block.BlockCocoa implements IStateMapperRegister, net.minecraft.block.ITileEntityProvider
AGE, COCOA_EAST_AABB, COCOA_NORTH_AABB, COCOA_SOUTH_AABB, COCOA_WEST_AABBBLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Modifier and Type | Method and Description |
|---|---|
void |
breakBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
boolean |
canBlockStay(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
boolean |
canGrow(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
boolean isClient) |
static java.util.List<BlockFruitPod> |
create() |
net.minecraft.tileentity.TileEntity |
createNewTileEntity(net.minecraft.world.World worldIn,
int meta) |
void |
getDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune) |
IAlleleFruit |
getFruit() |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player) |
void |
grow(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
void |
registerStateMapper() |
boolean |
removedByPlayer(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest) |
void |
updateTick(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand) |
canUseBonemeal, createBlockState, dropBlockAsItemWithChance, getBlockFaceShape, getBoundingBox, getItem, getMetaFromState, getRenderLayer, getStateForPlacement, getStateFromMeta, isFullCube, isOpaqueCube, neighborChanged, onBlockPlacedBy, withMirror, withRotationaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLiquidHeight, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockExploded, onBlockHarvested, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toStringpublic static java.util.List<BlockFruitPod> create()
public IAlleleFruit getFruit()
public net.minecraft.item.ItemStack getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player)
getPickBlock in class net.minecraft.block.Blockpublic void updateTick(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand)
updateTick in class net.minecraft.block.BlockCocoapublic boolean removedByPlayer(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest)
removedByPlayer in class net.minecraft.block.Blockpublic void getDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune)
getDrops in class net.minecraft.block.BlockCocoapublic boolean canBlockStay(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
canBlockStay in class net.minecraft.block.BlockCocoapublic void breakBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
breakBlock in class net.minecraft.block.Blockpublic net.minecraft.tileentity.TileEntity createNewTileEntity(net.minecraft.world.World worldIn,
int meta)
createNewTileEntity in interface net.minecraft.block.ITileEntityProviderpublic void registerStateMapper()
registerStateMapper in interface IStateMapperRegisterpublic boolean canGrow(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
boolean isClient)
canGrow in interface net.minecraft.block.IGrowablecanGrow in class net.minecraft.block.BlockCocoapublic void grow(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
grow in interface net.minecraft.block.IGrowablegrow in class net.minecraft.block.BlockCocoa