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
public class SkeletonSkullBlock extends BlockWithEntity
- Mappings:
Namespace Name official ajmintermediary net/minecraft/class_301named net/minecraft/block/SkeletonSkullBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType, Block.Sound -
Field Summary
Fields Modifier and Type Field Description static DirectionPropertyFACINGprivate static Predicate<RayTraceResult>field_1185private BlockPatternfield_1186private BlockPatternfield_1187static BooleanPropertyNO_DROPFields inherited from class net.minecraft.block.Block
ANVIL, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, CLOTH, fullBlock, GLASS, GRASS, GRAVEL, LADDER, lightLevel, material, materialColor, opacity, ORE, particleGravity, RAIL, randomTicks, REGISTRY, resistance, SAND, SLIME, slipperiness, SNOW, sound, stateManager, stats, STONE, strength, transluscent, useNeighbourLight, WOOD -
Constructor Summary
Constructors Modifier Constructor Description protectedSkeletonSkullBlock() -
Method Summary
Modifier and Type Method Description protected StateManagerappendProperties()Returns a new state manager with a property array.BlockEntitycreateBlockEntity(World world, int id)BoxgetCollisionBox(World world, BlockPos pos, BlockState state)Returns a box by adding the block's current location and the block's corresponding value in its Bounding BoxintgetData(BlockState state)Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not workItemgetDropItem(BlockState blockState, Random random, int state)Returns the item that must be dropped when the block is brokenintgetMeta(World world, BlockPos pos)Returns metadata from a world and a BlockPosItemgetPickItem(World world, BlockPos pos)Called when a player presses the pick block key while facing the block.BlockStategetStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity)Returns a BlockState from an idStringgetTranslatedName()Translates and returns the translation keybooleanhasTransperancy()voidmethod_996(World world, BlockPos blockPos, SkullBlockEntity skullBlockEntity)booleanmethod_997(World world, BlockPos blockPos, ItemStack itemStack)protected BlockPatternmethod_998()protected BlockPatternmethod_999()voidonBreakByPlayer(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.booleanrenderAsNormalBlock()Returns whether the block can be rendered as a normal blockvoidsetBoundingBox(WorldView view, BlockPos pos)BlockStatestateFromData(int data)Returns a blockstate of the current block from it's idMethods inherited from class net.minecraft.block.BlockWithEntity
getBlockType, method_580, method_581, onEventMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendItemStacks, areBlocksEqual, blocksMovement, calcBlockBreakingData, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockColor, getBlockFromItem, getBlockState, getBonusDrops, getBrightness, getByBlockState, getById, getColor, getColor, getComparatorOutput, getDefaultState, getDropCount, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMinX, getMinY, getMinZ, getOffsetType, getOpacity, getPistonInteractionType, getRenderLayerType, getSelectionBox, getStateFromRawId, getStateManager, getStrength, getStrongRedstonePower, getTickRate, getTranslationKey, getWeakRedstonePower, harvest, hasBlockEntity, hasCollision, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isSideInvisible, isTransluscent, method_655, method_696, neighborUpdate, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, onUse, rainTick, randomDisplayTick, requiresSilkTouch, scheduledTick, setBlockItemBounds, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setSound, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, usesNeighbourLight
-
Field Details
-
FACING
- Mappings:
Namespace Name Mixin selector official aLajm;a:Laml;intermediary field_1188Lnet/minecraft/class_301;field_1188:Lnet/minecraft/class_389;named FACINGLnet/minecraft/block/SkeletonSkullBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
-
NO_DROP
- Mappings:
Namespace Name Mixin selector official bLajm;b:Lamk;intermediary field_1189Lnet/minecraft/class_301;field_1189:Lnet/minecraft/class_388;named NO_DROPLnet/minecraft/block/SkeletonSkullBlock;NO_DROP:Lnet/minecraft/state/property/BooleanProperty;
-
field_1185
- Mappings:
Namespace Name Mixin selector official NLajm;N:Lcom/google/common/base/Predicate;intermediary field_1185Lnet/minecraft/class_301;field_1185:Lcom/google/common/base/Predicate;named field_1185Lnet/minecraft/block/SkeletonSkullBlock;field_1185:Lcom/google/common/base/Predicate;
-
field_1186
- Mappings:
Namespace Name Mixin selector official OLajm;O:Lamd;intermediary field_1186Lnet/minecraft/class_301;field_1186:Lnet/minecraft/class_381;named field_1186Lnet/minecraft/block/SkeletonSkullBlock;field_1186:Lnet/minecraft/block/pattern/BlockPattern;
-
field_1187
- Mappings:
Namespace Name Mixin selector official PLajm;P:Lamd;intermediary field_1187Lnet/minecraft/class_301;field_1187:Lnet/minecraft/class_381;named field_1187Lnet/minecraft/block/SkeletonSkullBlock;field_1187: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 fLafh;f()Ljava/lang/String;intermediary method_716Lnet/minecraft/class_160;method_716()Ljava/lang/String;named getTranslatedNameLnet/minecraft/block/Block;getTranslatedName()Ljava/lang/String;
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLafh;c()Zintermediary method_699Lnet/minecraft/class_160;method_699()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLafh;d()Zintermediary method_709Lnet/minecraft/class_160;method_709()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
setBoundingBox
- Overrides:
setBoundingBoxin classBlock- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladq;Lcj;)Vintermediary method_665Lnet/minecraft/class_160;method_665(Lnet/minecraft/class_104;Lnet/minecraft/class_1372;)Vnamed setBoundingBoxLnet/minecraft/block/Block;setBoundingBox(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)V
-
getCollisionBox
Returns a box by adding the block's current location and the block's corresponding value in its Bounding Box- Overrides:
getCollisionBoxin classBlock- Parameters:
world- The world that the block has been placedpos- The block's positionstate- The block's BlockState- Returns:
- The Collision box
- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladm;Lcj;Lalz;)Laug;intermediary method_645Lnet/minecraft/class_160;method_645(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Lnet/minecraft/class_646;named getCollisionBoxLnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)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 aLafh;a(Ladm;Lcj;Lcq;FFFILpr;)Lalz;intermediary method_656Lnet/minecraft/class_160;method_656(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;FFFILnet/minecraft/class_1752;)Lnet/minecraft/class_376;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 aLagq;a(Ladm;I)Lakw;intermediary method_841Lnet/minecraft/class_205;method_841(Lnet/minecraft/class_99;I)Lnet/minecraft/class_348;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/world/World;I)Lnet/minecraft/block/entity/BlockEntity;
-
getPickItem
Called when a player presses the pick block key while facing the block. It returns the item that must be placed into the player's inventory.- Overrides:
getPickItemin classBlock- Returns:
- The Item that must be placed into the player's inventory
- Mappings:
Namespace Name Mixin selector official cLafh;c(Ladm;Lcj;)Lzw;intermediary method_702Lnet/minecraft/class_160;method_702(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Lnet/minecraft/class_2054;named getPickItemLnet/minecraft/block/Block;getPickItem(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/item/Item;
-
getMeta
Returns metadata from a world and a BlockPos- Overrides:
getMetain classBlock- Parameters:
world- The world that the block is placed inpos- The block's position- Returns:
- Metadata
- Mappings:
Namespace Name Mixin selector official jLafh;j(Ladm;Lcj;)Iintermediary method_726Lnet/minecraft/class_160;method_726(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Inamed getMetaLnet/minecraft/block/Block;getMeta(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
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 aLafh;a(Ladm;Lcj;Lalz;FI)Vintermediary method_646Lnet/minecraft/class_160;method_646(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;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 aLafh;a(Ladm;Lcj;Lalz;Lwn;)Vintermediary method_653Lnet/minecraft/class_160;method_653(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_1963;)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 bLafh;b(Ladm;Lcj;Lalz;)Vintermediary method_688Lnet/minecraft/class_160;method_688(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)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 aLafh;a(Lalz;Ljava/util/Random;I)Lzw;intermediary method_674Lnet/minecraft/class_160;method_674(Lnet/minecraft/class_376;Ljava/util/Random;I)Lnet/minecraft/class_2054;named getDropItemLnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
-
method_997
- Mappings:
Namespace Name Mixin selector official bLajm;b(Ladm;Lcj;Lzx;)Zintermediary method_997Lnet/minecraft/class_301;method_997(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_2056;)Znamed method_997Lnet/minecraft/block/SkeletonSkullBlock;method_997(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)Z
-
method_996
- Mappings:
Namespace Name Mixin selector official aLajm;a(Ladm;Lcj;Lalo;)Vintermediary method_996Lnet/minecraft/class_301;method_996(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_367;)Vnamed method_996Lnet/minecraft/block/SkeletonSkullBlock;method_996(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 aLafh;a(I)Lalz;intermediary method_637Lnet/minecraft/class_160;method_637(I)Lnet/minecraft/class_376;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 cLafh;c(Lalz;)Iintermediary method_706Lnet/minecraft/class_160;method_706(Lnet/minecraft/class_376;)Inamed getDataLnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
-
appendProperties
Returns a new state manager with a property array.- Overrides:
appendPropertiesin classBlock- Returns:
- New state manager
- Mappings:
Namespace Name Mixin selector official eLafh;e()Lama;intermediary method_714Lnet/minecraft/class_160;method_714()Lnet/minecraft/class_378;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-
method_998
- Mappings:
Namespace Name Mixin selector official lLajm;l()Lamd;intermediary method_998Lnet/minecraft/class_301;method_998()Lnet/minecraft/class_381;named method_998Lnet/minecraft/block/SkeletonSkullBlock;method_998()Lnet/minecraft/block/pattern/BlockPattern;
-
method_999
- Mappings:
Namespace Name Mixin selector official nLajm;n()Lamd;intermediary method_999Lnet/minecraft/class_301;method_999()Lnet/minecraft/class_381;named method_999Lnet/minecraft/block/SkeletonSkullBlock;method_999()Lnet/minecraft/block/pattern/BlockPattern;
-