Package net.minecraft.block
Class SlabBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.SlabBlock
- Direct Known Subclasses:
StoneSlabBlock,WoodSlabBlock
- Mappings:
Namespace Name official ajuintermediary net/minecraft/class_143named net/minecraft/block/SlabBlock
-
Field Summary
FieldsFields 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 TypeMethodDescriptionintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.booleanabstract Stringmethod_323(int int2) method_407(World world, int int2, int int3, int int4) voidmethod_413(World world, int int2, int int3, int int4, Box box, List list, Entity entity) intmethod_4185(World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4, int int6) voidmethod_425(BlockView blockView, int int2, int int3, int int4) intmethod_431(int int2) intmethod_463(World world, int int2, int int3, int int4) private static booleanmethod_6490(Block block) booleanReturns whether the block can be rendered as a normal blockvoidSets the bounds for the BlockItembooleanshouldRenderSide(BlockView world, int x, int y, int z, int blockData) Methods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getCollisionBox, getColor, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTexture, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_410, method_411, method_412, method_414, method_415, method_417, method_418, method_4186, method_420, method_422, method_424, method_428, method_435, method_437, method_438, method_446, method_448, method_452, method_454, method_455, method_457, method_459, method_461, method_464, method_468, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, onNeighborUpdate, onTick, registerTextures, requiresSilkTouch, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_283
protected final boolean field_283- Mappings:
Namespace Name Mixin selector official aLaju;a:Zintermediary field_283Lnet/minecraft/class_143;field_283:Znamed field_283Lnet/minecraft/block/SlabBlock;field_283:Z
-
-
Constructor Details
-
SlabBlock
-
-
Method Details
-
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
-
setBlockItemBounds
public void setBlockItemBounds()Sets the bounds for the BlockItem- Overrides:
setBlockItemBoundsin classBlock- Mappings:
Namespace Name Mixin selector official gLaht;g()Vintermediary method_456Lnet/minecraft/class_197;method_456()Vnamed setBlockItemBoundsLnet/minecraft/block/Block;setBlockItemBounds()V
-
method_413
public void method_413(World world, int int2, int int3, int int4, Box box, List list, Entity entity) - Overrides:
method_413in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaye;Ljava/util/List;Lqm;)Vintermediary method_413Lnet/minecraft/class_197;method_413(Lnet/minecraft/class_1150;IIILnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;)Vnamed method_413Lnet/minecraft/block/Block;method_413(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;)V
-
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_4185
public int method_4185(World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4, int int6) - Overrides:
method_4185in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFFFI)Iintermediary method_4185Lnet/minecraft/class_197;method_4185(Lnet/minecraft/class_1150;IIIIFFFI)Inamed method_4185Lnet/minecraft/block/Block;method_4185(Lnet/minecraft/world/World;IIIIFFFI)I
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_431
public int method_431(int int2) - Overrides:
method_431in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(I)Iintermediary method_431Lnet/minecraft/class_197;method_431(I)Inamed method_431Lnet/minecraft/block/Block;method_431(I)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
-
shouldRenderSide
@Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData) - Overrides:
shouldRenderSidein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;IIII)Zintermediary method_447Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Znamed shouldRenderSideLnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
-
method_6490
- Mappings:
Namespace Name Mixin selector official aLaju;a(Laht;)Zintermediary method_6490Lnet/minecraft/class_143;method_6490(Lnet/minecraft/class_197;)Znamed method_6490Lnet/minecraft/block/SlabBlock;method_6490(Lnet/minecraft/block/Block;)Z
-
method_323
- Mappings:
Namespace Name Mixin selector official bLaju;b(I)Ljava/lang/String;intermediary method_323Lnet/minecraft/class_143;method_323(I)Ljava/lang/String;named method_323Lnet/minecraft/block/SlabBlock;method_323(I)Ljava/lang/String;
-
method_463
- Overrides:
method_463in classBlock- Mappings:
Namespace Name Mixin selector official kLaht;k(Lafm;III)Iintermediary method_463Lnet/minecraft/class_197;method_463(Lnet/minecraft/class_1150;III)Inamed method_463Lnet/minecraft/block/Block;method_463(Lnet/minecraft/world/World;III)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;
-