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
,Equipment
,ItemConvertible
,Vanishable
,ToggleableFeature
- Mappings:
Namespace Name official cyq
intermediary net/minecraft/class_2570
named net/minecraft/block/WitherSkullBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.SkullBlock
SkullBlock.SkullType, SkullBlock.Type
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static @Nullable BlockPattern
private static @Nullable BlockPattern
Fields inherited from class net.minecraft.block.SkullBlock
MAX_ROTATION_INDEX, PIGLIN_SHAPE, ROTATION, SHAPE
Fields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canDispense
(World world, BlockPos pos, ItemStack stack) private static BlockPattern
private static BlockPattern
void
onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static void
onPlaced
(World world, BlockPos pos, SkullBlockEntity blockEntity) Methods inherited from class net.minecraft.block.SkullBlock
appendProperties, getCullingShape, getOutlineShape, getPlacementState, mirror, rotate
Methods inherited from class net.minecraft.block.AbstractSkullBlock
canPathfindThrough, createBlockEntity, getSkullType, getSlotType, getTicker
Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, getRenderType, onSyncedBlockEvent
Methods inherited from class net.minecraft.block.Block
afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRequiredFeatures, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onUse, prepare, randomTick, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.BlockEntityProvider
getGameEventListener
Methods inherited from interface net.minecraft.item.Equipment
equipAndSwap, getEquipSound
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
witherBossPattern
- Mappings:
Namespace Name Mixin selector official e
Lcyq;e:Ldbv;
intermediary field_11765
Lnet/minecraft/class_2570;field_11765:Lnet/minecraft/class_2700;
named witherBossPattern
Lnet/minecraft/block/WitherSkullBlock;witherBossPattern:Lnet/minecraft/block/pattern/BlockPattern;
-
witherDispenserPattern
- Mappings:
Namespace Name Mixin selector official f
Lcyq;f:Ldbv;
intermediary field_11764
Lnet/minecraft/class_2570;field_11764:Lnet/minecraft/class_2700;
named witherDispenserPattern
Lnet/minecraft/block/WitherSkullBlock;witherDispenserPattern:Lnet/minecraft/block/pattern/BlockPattern;
-
-
Constructor Details
-
WitherSkullBlock
- Mappings:
Namespace Name Mixin selector official <init>
Ldbp;<init>(Ldbp$d;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
onPlaced
public 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:
onPlaced
in classBlock
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcpi;a(Lcmi;Lgt;Ldbq;Lbfx;Lcfv;)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
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
-
onPlaced
- Mappings:
Namespace Name Mixin selector official a
Lcyq;a(Lcmi;Lgt;Ldal;)V
intermediary method_10898
Lnet/minecraft/class_2570;method_10898(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2631;)V
named onPlaced
Lnet/minecraft/block/WitherSkullBlock;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/SkullBlockEntity;)V
-
canDispense
- Mappings:
Namespace Name Mixin selector official b
Lcyq;b(Lcmi;Lgt;Lcfv;)Z
intermediary method_10899
Lnet/minecraft/class_2570;method_10899(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)Z
named canDispense
Lnet/minecraft/block/WitherSkullBlock;canDispense(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)Z
-
getWitherBossPattern
- Mappings:
Namespace Name Mixin selector official v
Lcyq;v()Ldbv;
intermediary method_10900
Lnet/minecraft/class_2570;method_10900()Lnet/minecraft/class_2700;
named getWitherBossPattern
Lnet/minecraft/block/WitherSkullBlock;getWitherBossPattern()Lnet/minecraft/block/pattern/BlockPattern;
-
getWitherDispenserPattern
- Mappings:
Namespace Name Mixin selector official w
Lcyq;w()Ldbv;
intermediary method_10897
Lnet/minecraft/class_2570;method_10897()Lnet/minecraft/class_2700;
named getWitherDispenserPattern
Lnet/minecraft/block/WitherSkullBlock;getWitherDispenserPattern()Lnet/minecraft/block/pattern/BlockPattern;
-