Package net.minecraft.block
Class TrappedChestBlock
- java.lang.Object
-
- All Implemented Interfaces:
IBucketPickupHandler
,ILiquidContainer
,ITileEntityProvider
,IWaterLoggable
,IItemProvider
,IForgeBlock
,IForgeRegistryEntry<Block>
public class TrappedChestBlock extends ChestBlock
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.RenderSideCacheKey
-
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.Properties
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
-
Fields inherited from class net.minecraft.block.ChestBlock
AABB, EAST_AABB, FACING, NORTH_AABB, SOUTH_AABB, TYPE, WATERLOGGED, WEST_AABB
-
Fields inherited from class net.minecraft.block.AbstractChestBlock
blockEntityType
-
Fields inherited from class net.minecraft.block.Block
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
-
Fields inherited from class net.minecraft.block.AbstractBlock
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description TrappedChestBlock(AbstractBlock.Properties p_i48306_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDirectSignal(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_)
protected Stat<ResourceLocation>
getOpenChestStat()
int
getSignal(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_)
boolean
isSignalSource(BlockState p_149744_1_)
TileEntity
newBlockEntity(IBlockReader p_196283_1_)
-
Methods inherited from class net.minecraft.block.ChestBlock
combine, createBlockStateDefinition, getAnalogOutputSignal, getBlockType, getConnectedDirection, getContainer, getFluidState, getMenuProvider, getRenderShape, getShape, getStateForPlacement, hasAnalogOutputSignal, isChestBlockedAt, isPathfindable, mirror, onRemove, opennessCombiner, rotate, setPlacedBy, updateShape, use
-
Methods inherited from class net.minecraft.block.ContainerBlock
triggerEvent
-
Methods inherited from class net.minecraft.block.Block
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
-
Methods inherited from class net.minecraft.block.AbstractBlock
attack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDrops, getInteractionShape, getLightBlock, getLootTable, getOcclusionShape, getOffsetType, getPistonPushReaction, getSeed, getShadeBrightness, getVisualShape, isAir, isEntityBlock, neighborChanged, onPlace, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, useShapeForLightOcclusion
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlock
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
-
Methods inherited from interface net.minecraft.block.IWaterLoggable
canPlaceLiquid, placeLiquid, takeLiquid
-
-
-
-
Constructor Detail
-
TrappedChestBlock
public TrappedChestBlock(AbstractBlock.Properties p_i48306_1_)
-
-
Method Detail
-
newBlockEntity
public TileEntity newBlockEntity(IBlockReader p_196283_1_)
- Specified by:
newBlockEntity
in interfaceITileEntityProvider
- Overrides:
newBlockEntity
in classChestBlock
-
getOpenChestStat
protected Stat<ResourceLocation> getOpenChestStat()
- Overrides:
getOpenChestStat
in classChestBlock
-
isSignalSource
public boolean isSignalSource(BlockState p_149744_1_)
- Overrides:
isSignalSource
in classAbstractBlock
-
getSignal
public int getSignal(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_)
- Overrides:
getSignal
in classAbstractBlock
-
getDirectSignal
public int getDirectSignal(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_)
- Overrides:
getDirectSignal
in classAbstractBlock
-
-