public class TrappedChestBlock extends ChestBlock
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey
FACING, field_196315_B, SHAPE_EAST, SHAPE_NORTH, SHAPE_SOUTH, SHAPE_WEST, TYPE, WATERLOGGED
field_226859_a_
BLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomly
delegate
コンストラクタと説明 |
---|
TrappedChestBlock(Block.Properties properties) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canProvidePower(BlockState state)
非推奨です。
call via
IBlockState#canProvidePower() whenever possible. Implementing/overriding is fine. |
TileEntity |
createNewTileEntity(IBlockReader worldIn) |
protected Stat<ResourceLocation> |
getOpenStat() |
int |
getStrongPower(BlockState blockState,
IBlockReader blockAccess,
BlockPos pos,
Direction side)
非推奨です。
call via
IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing) whenever possible.
Implementing/overriding is fine. |
int |
getWeakPower(BlockState blockState,
IBlockReader blockAccess,
BlockPos pos,
Direction side)
非推奨です。
call via
IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing) whenever possible.
Implementing/overriding is fine. |
allowsMovement, fillStateContainer, func_225536_a_, func_226916_a_, func_226917_a_, func_226919_h_, getComparatorInputOverride, getContainer, getDirectionToAttached, getFluidState, getRenderType, getShape, getStateForPlacement, hasComparatorInputOverride, isBlocked, mirror, onBlockActivated, onBlockPlacedBy, onReplaced, rotate, updatePostPlacement
eventReceived
addInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getTags, getTranslationKey, getValidBlockForPosition, harvestBlock, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isReplaceable, isSideInvisible, isSolid, isTransparent, isValidPosition, isVariableOpacity, isViewBlocking, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onBlockHarvested, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, propagatesSkylightDown, randomTick, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canContainFluid, pickupFluid, receiveFluid
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public TrappedChestBlock(Block.Properties properties)
public TileEntity createNewTileEntity(IBlockReader worldIn)
createNewTileEntity
インタフェース内 ITileEntityProvider
createNewTileEntity
クラス内 ChestBlock
protected Stat<ResourceLocation> getOpenStat()
getOpenStat
クラス内 ChestBlock
public boolean canProvidePower(BlockState state)
IBlockState#canProvidePower()
whenever possible. Implementing/overriding is fine.canProvidePower
クラス内 Block
public int getWeakPower(BlockState blockState, IBlockReader blockAccess, BlockPos pos, Direction side)
IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)
whenever possible.
Implementing/overriding is fine.getWeakPower
クラス内 Block
public int getStrongPower(BlockState blockState, IBlockReader blockAccess, BlockPos pos, Direction side)
IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)
whenever possible.
Implementing/overriding is fine.getStrongPower
クラス内 Block