Package net.minecraft.block
Class SkeletonSkullBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.SkeletonSkullBlock
- All Implemented Interfaces:
BlockEntityProvider
- Mappings:
Namespace Name official aokintermediary net/minecraft/class_1305named net/minecraft/block/SkeletonSkullBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DirectionPropertyprotected static final Boxprotected static final Boxprotected static final Boxprotected static final Boxprotected static final Boxprivate static final Predicate<RayTraceResult>private BlockPatternprivate BlockPatternstatic final BooleanPropertyFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, blockSoundGroup, collisionBox, EMPTY_BOX, fullBlock, hardness, lightLevel, material, materialColor, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StateManagerReturns a new state manager with a property array.createBlockEntity(World world, int id) getCollisionBox(BlockState state, BlockView view, BlockPos pos) intgetData(BlockState state) Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not workgetDropItem(BlockState blockState, Random random, int state) Returns the item that must be dropped when the block is brokengetStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an idTranslates and returns the translation keybooleanisFullBoundsCubeForCulling(BlockState blockState) booleanmethod_11562(BlockState state) method_8640(World world, BlockPos blockPos, BlockState blockState) voidmethod_8899(World world, BlockPos blockPos, SkullBlockEntity skullBlockEntity) booleanmethod_8900(World world, BlockPos blockPos, ItemStack itemStack) protected BlockPatternprotected BlockPatternvoidonBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player) Runs when the block is broken by a player.voidonBreaking(World world, BlockPos pos, BlockState state) Runs when the block is removed (by an entity or explosion).voidrandomDropAsItem(World world, BlockPos pos, BlockState state, float chance, int id) Called when the block must be dropped as an item bydropAsItem, but luck is taken into consideration here.stateFromData(int data) Returns a blockstate of the current block from it's idwithMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.BlockWithEntity
getBlockRenderType, method_435, method_8602, method_8603Methods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, appendItemStacks, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockState, getBonusDrops, getByBlockState, getById, getCollisionBox, getComparatorOutput, getDefaultState, getDropCount, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getPistonBehavior, getRenderLayerType, getSoundGroup, getStateFromRawId, getStateManager, getTickRate, getTranslationKey, hasBlockEntity, hasCollision, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isLeafBlock, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_414, method_421, method_8638, method_8641, method_8651, method_8653, method_8654, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, requiresSilkTouch, scheduledTick, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, useNeighbourLight
-
Field Details
-
FACING
- Mappings:
Namespace Name Mixin selector official aLaok;a:Larp;intermediary field_9666Lnet/minecraft/class_1305;field_9666:Lnet/minecraft/class_2244;named FACINGLnet/minecraft/block/SkeletonSkullBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
-
NO_DROP
- Mappings:
Namespace Name Mixin selector official bLaok;b:Laro;intermediary field_9667Lnet/minecraft/class_1305;field_9667:Lnet/minecraft/class_2243;named NO_DROPLnet/minecraft/block/SkeletonSkullBlock;NO_DROP:Lnet/minecraft/state/property/BooleanProperty;
-
field_9663
- Mappings:
Namespace Name Mixin selector official BLaok;B:Lcom/google/common/base/Predicate;intermediary field_9663Lnet/minecraft/class_1305;field_9663:Lcom/google/common/base/Predicate;named field_9663Lnet/minecraft/block/SkeletonSkullBlock;field_9663:Lcom/google/common/base/Predicate;
-
field_12752
- Mappings:
Namespace Name Mixin selector official cLaok;c:Lbbf;intermediary field_12752Lnet/minecraft/class_1305;field_12752:Lnet/minecraft/class_231;named field_12752Lnet/minecraft/block/SkeletonSkullBlock;field_12752:Lnet/minecraft/util/math/Box;
-
field_12753
- Mappings:
Namespace Name Mixin selector official dLaok;d:Lbbf;intermediary field_12753Lnet/minecraft/class_1305;field_12753:Lnet/minecraft/class_231;named field_12753Lnet/minecraft/block/SkeletonSkullBlock;field_12753:Lnet/minecraft/util/math/Box;
-
field_12754
- Mappings:
Namespace Name Mixin selector official eLaok;e:Lbbf;intermediary field_12754Lnet/minecraft/class_1305;field_12754:Lnet/minecraft/class_231;named field_12754Lnet/minecraft/block/SkeletonSkullBlock;field_12754:Lnet/minecraft/util/math/Box;
-
field_12755
- Mappings:
Namespace Name Mixin selector official fLaok;f:Lbbf;intermediary field_12755Lnet/minecraft/class_1305;field_12755:Lnet/minecraft/class_231;named field_12755Lnet/minecraft/block/SkeletonSkullBlock;field_12755:Lnet/minecraft/util/math/Box;
-
field_12756
- Mappings:
Namespace Name Mixin selector official gLaok;g:Lbbf;intermediary field_12756Lnet/minecraft/class_1305;field_12756:Lnet/minecraft/class_231;named field_12756Lnet/minecraft/block/SkeletonSkullBlock;field_12756:Lnet/minecraft/util/math/Box;
-
field_9664
- Mappings:
Namespace Name Mixin selector official CLaok;C:Larh;intermediary field_9664Lnet/minecraft/class_1305;field_9664:Lnet/minecraft/class_2236;named field_9664Lnet/minecraft/block/SkeletonSkullBlock;field_9664:Lnet/minecraft/block/pattern/BlockPattern;
-
field_9665
- Mappings:
Namespace Name Mixin selector official DLaok;D:Larh;intermediary field_9665Lnet/minecraft/class_1305;field_9665:Lnet/minecraft/class_2236;named field_9665Lnet/minecraft/block/SkeletonSkullBlock;field_9665:Lnet/minecraft/block/pattern/BlockPattern;
-
-
Constructor Details
-
SkeletonSkullBlock
protected SkeletonSkullBlock()
-
-
Method Details
-
getTranslatedName
Translates and returns the translation key- Overrides:
getTranslatedNamein classBlock- Returns:
- Translated name
- Mappings:
Namespace Name Mixin selector official cLajt;c()Ljava/lang/String;intermediary method_480Lnet/minecraft/class_197;method_480()Ljava/lang/String;named getTranslatedNameLnet/minecraft/block/Block;getTranslatedName()Ljava/lang/String;
-
isFullBoundsCubeForCulling
- Overrides:
isFullBoundsCubeForCullingin classBlock- Mappings:
Namespace Name Mixin selector official bLajt;b(Lard;)Zintermediary method_11560Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Znamed isFullBoundsCubeForCullingLnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official cLajt;c(Lard;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
getCollisionBox
- Overrides:
getCollisionBoxin classBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Lard;Lahx;Lcl;)Lbbf;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;named getCollisionBoxLnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-
getStateFromData
public BlockState getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity) Returns a BlockState from an id- Overrides:
getStateFromDatain classBlock- Parameters:
world- The world that the block is placed inpos- The block's positiondir- The block's direction- Mappings:
Namespace Name Mixin selector official aLajt;a(Laht;Lcl;Lcs;FFFILsa;)Lard;intermediary method_8645Lnet/minecraft/class_197;method_8645(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFFILnet/minecraft/class_1699;)Lnet/minecraft/class_2232;named getStateFromDataLnet/minecraft/block/Block;getStateFromData(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFFILnet/minecraft/entity/LivingEntity;)Lnet/minecraft/block/BlockState;
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official aLalg;a(Laht;I)Lapv;intermediary method_309Lnet/minecraft/class_1451;method_309(Lnet/minecraft/class_1150;I)Lnet/minecraft/class_226;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/world/World;I)Lnet/minecraft/block/entity/BlockEntity;
-
method_8640
- Overrides:
method_8640in classBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Laht;Lcl;Lard;)Ladq;intermediary method_8640Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;named method_8640Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
randomDropAsItem
Called when the block must be dropped as an item bydropAsItem, but luck is taken into consideration here.- Overrides:
randomDropAsItemin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStatechance- The chance (luck factor)id- Id- Mappings:
Namespace Name Mixin selector official aLajt;a(Laht;Lcl;Lard;FI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;FI)Vnamed randomDropAsItemLnet/minecraft/block/Block;randomDropAsItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;FI)V
-
onBreakByPlayer
Runs when the block is broken by a player.- Overrides:
onBreakByPlayerin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateplayer- The player who broke the block- Mappings:
Namespace Name Mixin selector official aLajt;a(Laht;Lcl;Lard;Lzj;)Vintermediary method_8644Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
onBreaking
Runs when the block is removed (by an entity or explosion).- Overrides:
onBreakingin classBlockWithEntity- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockState- Mappings:
Namespace Name Mixin selector official bLajt;b(Laht;Lcl;Lard;)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed onBreakingLnet/minecraft/block/Block;onBreaking(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getDropItem
Returns the item that must be dropped when the block is broken- Overrides:
getDropItemin classBlock- Parameters:
blockState- The block's BlockStaterandom- Random objectstate- State- Returns:
- The Item that drops after the block breaks
- Mappings:
Namespace Name Mixin selector official aLajt;a(Lard;Ljava/util/Random;I)Lado;intermediary method_398Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;named getDropItemLnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
-
method_8900
- Mappings:
Namespace Name Mixin selector official bLaok;b(Laht;Lcl;Ladq;)Zintermediary method_8900Lnet/minecraft/class_1305;method_8900(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1071;)Znamed method_8900Lnet/minecraft/block/SkeletonSkullBlock;method_8900(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)Z
-
method_8899
- Mappings:
Namespace Name Mixin selector official aLaok;a(Laht;Lcl;Laqo;)Vintermediary method_8899Lnet/minecraft/class_1305;method_8899(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1311;)Vnamed method_8899Lnet/minecraft/block/SkeletonSkullBlock;method_8899(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/SkullBlockEntity;)V
-
stateFromData
Returns a blockstate of the current block from it's id- Overrides:
stateFromDatain classBlock- Parameters:
data- The Blockstate's associated data value- Returns:
- The Default state
- Mappings:
Namespace Name Mixin selector official aLajt;a(I)Lard;intermediary method_8635Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;named stateFromDataLnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
-
getData
Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not work- Overrides:
getDatain classBlock- Parameters:
state- The Blockstate- Returns:
- Zero
- Mappings:
Namespace Name Mixin selector official eLajt;e(Lard;)Iintermediary method_8671Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)Inamed getDataLnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
-
withRotation
- Overrides:
withRotationin classBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Lard;Laoe;)Lard;intermediary method_11556Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;named withRotationLnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
withMirror
- Overrides:
withMirrorin classBlock- Mappings:
Namespace Name Mixin selector official aLajt;a(Lard;Lamr;)Lard;intermediary method_11555Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;named withMirrorLnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
appendProperties
Returns a new state manager with a property array.- Overrides:
appendPropertiesin classBlock- Returns:
- New state manager
- Mappings:
Namespace Name Mixin selector official bLajt;b()Lare;intermediary method_8676Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-
method_8901
- Mappings:
Namespace Name Mixin selector official eLaok;e()Larh;intermediary method_8901Lnet/minecraft/class_1305;method_8901()Lnet/minecraft/class_2236;named method_8901Lnet/minecraft/block/SkeletonSkullBlock;method_8901()Lnet/minecraft/block/pattern/BlockPattern;
-
method_8902
- Mappings:
Namespace Name Mixin selector official gLaok;g()Larh;intermediary method_8902Lnet/minecraft/class_1305;method_8902()Lnet/minecraft/class_2236;named method_8902Lnet/minecraft/block/SkeletonSkullBlock;method_8902()Lnet/minecraft/block/pattern/BlockPattern;
-