Package net.minecraft.block
Class BedBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizontalFacingBlock
net.minecraft.block.BedBlock
- Mappings:
Namespace Name official ahsintermediary net/minecraft/class_109named net/minecraft/block/BedBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[][]private Texture[]private Texture[]private Texture[]Fields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintReturns the block's piston interaction type, as provided by it's material.getTexture(int side, int blockData) booleanstatic voidmethod_277(World world, int int2, int int3, int int4, boolean bool) static booleanmethod_278(int int2) static BlockPosmethod_279(World world, int int2, int int3, int int4, int int5) static booleanmethod_280(int int2) private voidmethod_398(int int2, Random random, int int3) method_407(World world, int int2, int int3, int int4) voidmethod_410(World world, int int2, int int3, int int4, int int5, float float2, int int6) voidmethod_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) voidmethod_425(BlockView blockView, int int2, int int3, int int4) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockMethods inherited from class net.minecraft.block.HorizontalFacingBlock
getRotationMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getColor, getDropCount, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getSideTexture, getStrongRedstonePower, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_411, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_427, method_428, method_431, method_435, method_437, method_438, method_446, method_448, method_452, method_454, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_471, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onBreak, onDestroyed, onEntityCollision, onTick, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_271
public static final int[][] field_271- Mappings:
Namespace Name Mixin selector official aLahs;a:[[Iintermediary field_271Lnet/minecraft/class_109;field_271:[[Inamed field_271Lnet/minecraft/block/BedBlock;field_271:[[I
-
field_5519
- Mappings:
Namespace Name Mixin selector official bLahs;b:[Lpr;intermediary field_5519Lnet/minecraft/class_109;field_5519:[Lnet/minecraft/class_1557;named field_5519Lnet/minecraft/block/BedBlock;field_5519:[Lnet/minecraft/client/Texture;
-
field_5520
- Mappings:
Namespace Name Mixin selector official MLahs;M:[Lpr;intermediary field_5520Lnet/minecraft/class_109;field_5520:[Lnet/minecraft/class_1557;named field_5520Lnet/minecraft/block/BedBlock;field_5520:[Lnet/minecraft/client/Texture;
-
field_5521
- Mappings:
Namespace Name Mixin selector official NLahs;N:[Lpr;intermediary field_5521Lnet/minecraft/class_109;field_5521:[Lnet/minecraft/class_1557;named field_5521Lnet/minecraft/block/BedBlock;field_5521:[Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
BedBlock
public BedBlock()
-
-
Method Details
-
onActivated
public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) - Overrides:
onActivatedin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;IFFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Znamed onActivatedLnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
registerTextures
- Overrides:
registerTexturesin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lps;)Vintermediary method_4791Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)Vnamed registerTexturesLnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V
-
getBlockType
public int getBlockType()- Overrides:
getBlockTypein classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b()Iintermediary method_429Lnet/minecraft/class_197;method_429()Inamed getBlockTypeLnet/minecraft/block/Block;getBlockType()I
-
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 dLaht;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
method_425
- Overrides:
method_425in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;III)Vintermediary method_425Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)Vnamed method_425Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
method_398
- Overrides:
method_398in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;I)Labm;intermediary method_398Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;named method_398Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
-
method_281
private void method_281()- Mappings:
Namespace Name Mixin selector official eLahs;e()Vintermediary method_281Lnet/minecraft/class_109;method_281()Vnamed method_281Lnet/minecraft/block/BedBlock;method_281()V
-
method_278
public static boolean method_278(int int2) - Mappings:
Namespace Name Mixin selector official bLahs;b(I)Zintermediary method_278Lnet/minecraft/class_109;method_278(I)Znamed method_278Lnet/minecraft/block/BedBlock;method_278(I)Z
-
method_280
public static boolean method_280(int int2) - Mappings:
Namespace Name Mixin selector official cLahs;c(I)Zintermediary method_280Lnet/minecraft/class_109;method_280(I)Znamed method_280Lnet/minecraft/block/BedBlock;method_280(I)Z
-
method_277
- Mappings:
Namespace Name Mixin selector official aLahs;a(Lafm;IIIZ)Vintermediary method_277Lnet/minecraft/class_109;method_277(Lnet/minecraft/class_1150;IIIZ)Vnamed method_277Lnet/minecraft/block/BedBlock;method_277(Lnet/minecraft/world/World;IIIZ)V
-
method_279
- Mappings:
Namespace Name Mixin selector official aLahs;a(Lafm;IIII)Lr;intermediary method_279Lnet/minecraft/class_109;method_279(Lnet/minecraft/class_1150;IIII)Lnet/minecraft/class_851;named method_279Lnet/minecraft/block/BedBlock;method_279(Lnet/minecraft/world/World;IIII)Lnet/minecraft/util/math/BlockPos;
-
method_410
- Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;IIIIFI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/world/World;IIIIFI)V
-
getPistonInteractionType
public int getPistonInteractionType()Returns the block's piston interaction type, as provided by it's material.- Overrides:
getPistonInteractionTypein classBlock- Returns:
- Current block's piston interaction type
- Mappings:
Namespace Name Mixin selector official hLaht;h()Iintermediary method_453Lnet/minecraft/class_197;method_453()Inamed getPistonInteractionTypeLnet/minecraft/block/Block;getPistonInteractionType()I
-
method_407
- Overrides:
method_407in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;III)Labm;intermediary method_407Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;named method_407Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
-
method_412
public void method_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) - Overrides:
method_412in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIILxk;)Vintermediary method_412Lnet/minecraft/class_197;method_412(Lnet/minecraft/class_1150;IIIILnet/minecraft/class_988;)Vnamed method_412Lnet/minecraft/block/Block;method_412(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/player/PlayerEntity;)V
-