public class BlockShulkerBox extends BlockContainer
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static EnumProperty<EnumFacing> |
FACING |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Constructor and Description |
|---|
BlockShulkerBox(EnumDyeColor p_i48334_1_,
Block.Properties p_i48334_2_) |
eventReceived, harvestBlockallowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, collisionRayTrace, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getRaytraceShape, getRenderLayer, getRenderShape, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacement, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final EnumProperty<EnumFacing> FACING
public BlockShulkerBox(@Nullable
EnumDyeColor p_i48334_1_,
Block.Properties p_i48334_2_)
public TileEntity createNewTileEntity(IBlockReader worldIn)
public boolean causesSuffocation(IBlockState state)
causesSuffocation in class Blockpublic boolean isFullCube(IBlockState state)
isFullCube in class Blockpublic boolean hasCustomBreakingProgress(IBlockState state)
hasCustomBreakingProgress in class Blockpublic EnumBlockRenderType getRenderType(IBlockState state)
getRenderType in class BlockContainerpublic boolean onBlockActivated(IBlockState state, World worldIn, BlockPos pos, EntityPlayer player, EnumHand hand, EnumFacing side, float hitX, float hitY, float hitZ)
onBlockActivated in class Blockpublic IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement in class Blockprotected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer in class Blockpublic void onBlockHarvested(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player)
onBlockHarvested in class Blockpublic void dropBlockAsItemWithChance(IBlockState state, World worldIn, BlockPos pos, float chancePerItem, int fortune)
dropBlockAsItemWithChance in class Blockpublic void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
onBlockPlacedBy in class Blockpublic void onReplaced(IBlockState state, World worldIn, BlockPos pos, IBlockState newState, boolean isMoving)
onReplaced in class BlockContainerpublic void addInformation(ItemStack stack, @Nullable IBlockReader worldIn, java.util.List<ITextComponent> tooltip, ITooltipFlag flagIn)
addInformation in class Blockpublic EnumPushReaction getPushReaction(IBlockState state)
getPushReaction in class Blockpublic VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
public boolean isSolid(IBlockState state)
public boolean hasComparatorInputOverride(IBlockState state)
hasComparatorInputOverride in class Blockpublic int getComparatorInputOverride(IBlockState blockState, World worldIn, BlockPos pos)
getComparatorInputOverride in class Blockpublic ItemStack getItem(IBlockReader worldIn, BlockPos pos, IBlockState state)
public static EnumDyeColor getColorFromItem(Item itemIn)
public static EnumDyeColor getColorFromBlock(Block blockIn)
public static Block getBlockByColor(EnumDyeColor colorIn)
public EnumDyeColor getColor()
public static ItemStack getColoredItemStack(EnumDyeColor colorIn)
public IBlockState rotate(IBlockState state, Rotation rot)
public IBlockState mirror(IBlockState state, Mirror mirrorIn)
public BlockFaceShape getBlockFaceShape(IBlockReader worldIn, IBlockState state, BlockPos pos, EnumFacing face)
getBlockFaceShape in class Block