Package net.minecraft.world.level.block
Class DecoratedPotBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BaseEntityBlock
net.minecraft.world.level.block.DecoratedPotBlock
- All Implemented Interfaces:
- FeatureElement,- BucketPickup,- EntityBlock,- LiquidBlockContainer,- SimpleWaterloggedBlock,- ItemLike,- IBlockExtension,- IBucketPickupExtension
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.level.block.BlockBlock.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviourBlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final VoxelShapestatic final com.mojang.serialization.MapCodec<DecoratedPotBlock>static final BooleanPropertyprivate static final DirectionPropertystatic final ResourceLocationprivate static final BooleanPropertyFields inherited from class net.minecraft.world.level.block.BlockBLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviourdrops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElementFILTERED_REGISTRIES
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendHoverText(ItemStack p_285238_, BlockGetter p_285450_, List<Component> p_285448_, TooltipFlag p_284997_) com.mojang.serialization.MapCodec<DecoratedPotBlock>codec()protected voidintgetAnalogOutputSignal(BlockState p_306206_, Level p_306113_, BlockPos p_306305_) getCloneItemStack(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_) getDrops(BlockState p_287683_, LootParams.Builder p_287582_) getFluidState(BlockState p_272593_) getShape(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) getSoundType(BlockState p_277561_) getStateForPlacement(BlockPlaceContext p_272711_) booleanhasAnalogOutputSignal(BlockState p_305995_) booleanisPathfindable(BlockState p_276295_, BlockGetter p_276308_, BlockPos p_276313_, PathComputationType p_276303_) newBlockEntity(BlockPos p_273396_, BlockState p_272674_) voidonProjectileHit(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) voidonRemove(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) playerWillDestroy(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) voidsetPlacedBy(Level p_295174_, BlockPos p_295227_, BlockState p_294576_, LivingEntity p_295902_, ItemStack p_294817_) updateShape(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) use(BlockState p_306193_, Level p_306019_, BlockPos p_305787_, Player p_306328_, InteractionHand p_306016_, BlockHitResult p_306132_) Methods inherited from class net.minecraft.world.level.block.BaseEntityBlockcreateTickerHelper, getMenuProvider, getRenderShape, triggerEventMethods inherited from class net.minecraft.world.level.block.BlockanimateTick, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviourattack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getSeed, getShadeBrightness, getSignal, getVisualShape, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, mirror, neighborChanged, onExplosionHit, onPlace, properties, propertiesCodec, randomTick, requiredFeatures, rotate, simpleCodec, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, useShapeForLightOcclusionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.EntityBlockgetListener, getTickerMethods inherited from interface net.minecraft.world.flag.FeatureElementisEnabledMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockExtensionaddLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHidingMethods inherited from interface net.neoforged.neoforge.common.extensions.IBucketPickupExtensiongetPickupSoundMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlockcanPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
- 
Field Details- 
CODEC
- 
SHERDS_DYNAMIC_DROP_ID
- 
BOUNDING_BOX
- 
HORIZONTAL_FACING
- 
CRACKED
- 
WATERLOGGED
 
- 
- 
Constructor Details- 
DecoratedPotBlock
 
- 
- 
Method Details- 
codec- Specified by:
- codecin class- BaseEntityBlock
 
- 
updateShapepublic BlockState updateShape(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) - Overrides:
- updateShapein class- BlockBehaviour
 
- 
getStateForPlacement- Overrides:
- getStateForPlacementin class- Block
 
- 
usepublic InteractionResult use(BlockState p_306193_, Level p_306019_, BlockPos p_305787_, Player p_306328_, InteractionHand p_306016_, BlockHitResult p_306132_) - Overrides:
- usein class- BlockBehaviour
 
- 
setPlacedBypublic void setPlacedBy(Level p_295174_, BlockPos p_295227_, BlockState p_294576_, @Nullable LivingEntity p_295902_, ItemStack p_294817_) - Overrides:
- setPlacedByin class- Block
 
- 
isPathfindablepublic boolean isPathfindable(BlockState p_276295_, BlockGetter p_276308_, BlockPos p_276313_, PathComputationType p_276303_) - Overrides:
- isPathfindablein class- BlockBehaviour
 
- 
getShapepublic VoxelShape getShape(BlockState p_273112_, BlockGetter p_273055_, BlockPos p_273137_, CollisionContext p_273151_) - Overrides:
- getShapein class- BlockBehaviour
 
- 
createBlockStateDefinition- Overrides:
- createBlockStateDefinitionin class- Block
 
- 
newBlockEntity- Specified by:
- newBlockEntityin interface- EntityBlock
 
- 
onRemovepublic void onRemove(BlockState p_305821_, Level p_306245_, BlockPos p_305894_, BlockState p_306294_, boolean p_306159_) - Overrides:
- onRemovein class- BlockBehaviour
 
- 
getDrops- Overrides:
- getDropsin class- BlockBehaviour
 
- 
playerWillDestroypublic BlockState playerWillDestroy(Level p_273590_, BlockPos p_273343_, BlockState p_272869_, Player p_273002_) - Overrides:
- playerWillDestroyin class- Block
 
- 
getFluidState- Overrides:
- getFluidStatein class- BlockBehaviour
 
- 
getSoundType- Overrides:
- getSoundTypein class- Block
 
- 
appendHoverTextpublic void appendHoverText(ItemStack p_285238_, @Nullable BlockGetter p_285450_, List<Component> p_285448_, TooltipFlag p_284997_) - Overrides:
- appendHoverTextin class- Block
 
- 
onProjectileHitpublic void onProjectileHit(Level p_306322_, BlockState p_306005_, BlockHitResult p_306105_, Projectile p_305851_) - Overrides:
- onProjectileHitin class- BlockBehaviour
 
- 
getCloneItemStack- Overrides:
- getCloneItemStackin class- Block
 
- 
hasAnalogOutputSignal- Overrides:
- hasAnalogOutputSignalin class- BlockBehaviour
 
- 
getAnalogOutputSignal- Overrides:
- getAnalogOutputSignalin class- BlockBehaviour
 
 
-