Package net.minecraft.block
Class WitherSkullBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.AbstractSkullBlock
net.minecraft.block.SkullBlock
net.minecraft.block.WitherSkullBlock
- All Implemented Interfaces:
- BlockEntityProvider,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - named - net/minecraft/block/WitherSkullBlock- intermediary - net/minecraft/class_2570- official - dtl
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.SkullBlockSkullBlock.SkullType, SkullBlock.TypeNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WitherSkullBlock> private static @Nullable BlockPatternprivate static @Nullable BlockPatternFields inherited from class net.minecraft.block.SkullBlockMAX_ROTATION_INDEX, PIGLIN_SHAPE, ROTATION, SHAPEFields inherited from class net.minecraft.block.AbstractSkullBlockPOWEREDFields inherited from class net.minecraft.block.Blockfield_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancanDispense(World world, BlockPos pos, ItemStack stack) com.mojang.serialization.MapCodec<WitherSkullBlock> getCodec()private static BlockPatternprivate static BlockPatternstatic voidvoidonPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static voidonPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity) Methods inherited from class net.minecraft.block.SkullBlockappendProperties, getCullingShape, getOutlineShape, getPlacementState, mirror, rotateMethods inherited from class net.minecraft.block.AbstractSkullBlockcanPathfindThrough, createBlockEntity, getSkullType, getTicker, neighborUpdateMethods inherited from class net.minecraft.block.BlockWithEntitycreateScreenHandlerFactory, onSyncedBlockEvent, validateTickerMethods inherited from class net.minecraft.block.BlockafterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createCodec, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onUse, onUseWithItem, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.BlockEntityProvidergetGameEventListenerMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/WitherSkullBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46504- Lnet/minecraft/class_2570;field_46504:Lcom/mojang/serialization/MapCodec;- official - b- Ldtl;b:Lcom/mojang/serialization/MapCodec;
 
- 
witherBossPattern- Mappings:
- Namespace - Name - Mixin selector - named - witherBossPattern- Lnet/minecraft/block/WitherSkullBlock;witherBossPattern:Lnet/minecraft/block/pattern/BlockPattern;- intermediary - field_11765- Lnet/minecraft/class_2570;field_11765:Lnet/minecraft/class_2700;- official - h- Ldtl;h:Ldxd;
 
- 
witherDispenserPattern- Mappings:
- Namespace - Name - Mixin selector - named - witherDispenserPattern- Lnet/minecraft/block/WitherSkullBlock;witherDispenserPattern:Lnet/minecraft/block/pattern/BlockPattern;- intermediary - field_11764- Lnet/minecraft/class_2570;field_11764:Lnet/minecraft/class_2700;- official - i- Ldtl;i:Ldxd;
 
 
- 
- 
Constructor Details- 
WitherSkullBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldwx;<init>(Ldwx$d;)V
 
 
- 
- 
Method Details- 
getCodec- Overrides:
- getCodecin class- SkullBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getCodec- Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;- intermediary - method_53969- Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;- official - a- Ldwx;a()Lcom/mojang/serialization/MapCodec;
 
- 
onPlacedpublic void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.Tall or wide blocks (such as doors or beds) should override this to place the other half of the block. Blocks with block entities can use this to copy the data from the item stack, such as the custom name. This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- onPlacedin class- Block
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - onPlaced- Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V- intermediary - method_9567- Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)V- official - a- Ldjn;a(Ldgj;Lji;Ldwy;Lbvi;Lcwq;)V
 
- 
onPlaced- Mappings:
- Namespace - Name - Mixin selector - named - onPlaced- Lnet/minecraft/block/WitherSkullBlock;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V- intermediary - method_56119- Lnet/minecraft/class_2570;method_56119(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V- official - a- Ldtl;a(Ldgj;Lji;)V
 
- 
onPlaced- Mappings:
- Namespace - Name - Mixin selector - named - onPlaced- Lnet/minecraft/block/WitherSkullBlock;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/SkullBlockEntity;)V- intermediary - method_10898- Lnet/minecraft/class_2570;method_10898(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2631;)V- official - a- Ldtl;a(Ldgj;Lji;Ldvp;)V
 
- 
canDispense- Mappings:
- Namespace - Name - Mixin selector - named - canDispense- Lnet/minecraft/block/WitherSkullBlock;canDispense(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)Z- intermediary - method_10899- Lnet/minecraft/class_2570;method_10899(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)Z- official - b- Ldtl;b(Ldgj;Lji;Lcwq;)Z
 
- 
getWitherBossPattern- Mappings:
- Namespace - Name - Mixin selector - named - getWitherBossPattern- Lnet/minecraft/block/WitherSkullBlock;getWitherBossPattern()Lnet/minecraft/block/pattern/BlockPattern;- intermediary - method_10900- Lnet/minecraft/class_2570;method_10900()Lnet/minecraft/class_2700;- official - q- Ldtl;q()Ldxd;
 
- 
getWitherDispenserPattern- Mappings:
- Namespace - Name - Mixin selector - named - getWitherDispenserPattern- Lnet/minecraft/block/WitherSkullBlock;getWitherDispenserPattern()Lnet/minecraft/block/pattern/BlockPattern;- intermediary - method_10897- Lnet/minecraft/class_2570;method_10897()Lnet/minecraft/class_2700;- official - r- Ldtl;r()Ldxd;
 
 
-