Package net.minecraft.block
Class AbstractSkullBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.AbstractSkullBlock
- All Implemented Interfaces:
BlockEntityProvider
,ItemConvertible
,Vanishable
,Wearable
- Direct Known Subclasses:
SkullBlock
,WallSkullBlock
public abstract class AbstractSkullBlock extends BlockWithEntity implements Wearable
- Mappings:
Namespace Name official bvr
intermediary net/minecraft/class_2190
named net/minecraft/block/AbstractSkullBlock
-
Nested Class Summary
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.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields Modifier and Type Field Description private SkullBlock.SkullType
type
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Constructor Description AbstractSkullBlock(SkullBlock.SkullType type, AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description boolean
canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
BlockEntity
createBlockEntity(BlockPos pos, BlockState state)
SkullBlock.SkullType
getSkullType()
<T extends BlockEntity>
BlockEntityTicker<T>getTicker(World world, BlockState state, BlockEntityType<T> type)
Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, getRenderType, onSyncedBlockEvent
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onUse, prepare, randomTick, rotate, 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
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector official a
Lbvr;a:Lccw$a;
intermediary field_9867
Lnet/minecraft/class_2190;field_9867:Lnet/minecraft/class_2484$class_2485;
named type
Lnet/minecraft/block/AbstractSkullBlock;type:Lnet/minecraft/block/SkullBlock$SkullType;
-
-
Constructor Details
-
AbstractSkullBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lbvr;<init>(Lccw$a;Lchs$c;)V
intermediary <init>
Lnet/minecraft/class_2190;<init>(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractSkullBlock;<init>(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
createBlockEntity
- Specified by:
createBlockEntity
in interfaceBlockEntityProvider
- Mappings:
Namespace Name Mixin selector official a
Lbzb;a(Lfx;Lcht;)Lcfr;
intermediary method_10123
Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named createBlockEntity
Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
getTicker
@Nullable public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type)- Specified by:
getTicker
in interfaceBlockEntityProvider
- Mappings:
Namespace Name Mixin selector official a
Lbzb;a(Lbtv;Lcht;Lcft;)Lcfs;
intermediary method_31645
Lnet/minecraft/class_2343;method_31645(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2591;)Lnet/minecraft/class_5558;
named getTicker
Lnet/minecraft/block/BlockEntityProvider;getTicker(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/block/entity/BlockEntityTicker;
-
getSkullType
- Mappings:
Namespace Name Mixin selector official b
Lbvr;b()Lccw$a;
intermediary method_9327
Lnet/minecraft/class_2190;method_9327()Lnet/minecraft/class_2484$class_2485;
named getSkullType
Lnet/minecraft/block/AbstractSkullBlock;getSkullType()Lnet/minecraft/block/SkullBlock$SkullType;
-