Package net.minecraft.block
Class Stairs
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Stairs
- Mappings:
Namespace Name intermediary net/minecraft/class_416glue class_457server luclient ssnamed net/minecraft/block/Stairs
-
Field Summary
FieldsFields inherited from class net.minecraft.block.BlockBase
ALLOWS_GRASS_UNDER, BED, BEDROCK, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, BY_ID, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, CROPS, DANDELION, DEADBUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOUBLE_STONE_SLAB, EMITTANCE, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FULL_OPAQUE, FURNACE, FURNACE_LIT, GLASS, GLASS_SOUNDS, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GOLDEN_RAIL, GRASS, GRASS_SOUNDS, GRAVEL, GRAVEL_SOUNDS, hardness, HAS_TILE_ENTITY, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, isStatEnabled, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_LAZULI_BLOCK, LAPIS_LAZULI_ORE, LEAVES, LEVER, LIGHT_OPACITY, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUNDS, minX, minY, minZ, MOB_SPAWNER, MOSSY_COBBLESTONE, MOVING_PISTON, NETHERRACK, NO_NOTIFY_ON_META_CHANGE, NOTEBLOCK, OBSIDIAN, particalSpeed, PISTON, PISTON_HEAD, PISTON_SOUNDS, PORTAL, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_DUST, REDSTONE_ORE, REDSTONE_ORE_LIT, REDSTONE_REPEATER, REDSTONE_REPEATER_LIT, REDSTONE_TORCH, REDSTONE_TORCH_LIT, resistance, ROSE, SAND, SAND_SOUNDS, SANDSTONE, SAPLING, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, sounds, SPONGE, STANDING_SIGN, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SOUNDS, SUGAR_CANES, TALLGRASS, texture, TICKS_RANDOMLY, TNT, TORCH, TRAPDOOR, unusedBoolean1, WALL_SIGN, WOOD, WOOD_DOOR, WOOD_SOUNDS, WOOD_STAIRS, WOODEN_PRESSURE_PLATE, WOOL, WOOL_SOUNDS, WORKBENCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidactivate(Level level, int x, int y, int z, PlayerBase player) voidafterPlaced(Level level, int x, int y, int z, Living living) voidbeforeDestroyedByExplosion(Level level, int x, int y, int z, int meta, float dropChance) booleancanPlaceAt(Level level, int x, int y, int z) booleancanUse(Level level, int x, int y, int z, PlayerBase player) voiddoesBoxCollide(Level level, int x, int y, int z, Box box, ArrayList blocksThatCollide) floatgetBlastResistance(EntityBase entityBase) floatgetBrightness(BlockView tileView, int x, int y, int z) getCollisionShape(Level level, int x, int y, int z) intgetDropCount(Random rand) intgetOutlineShape(Level level, int x, int y, int z) intintintgetTextureForSide(int side) intgetTextureForSide(int side, int meta) intgetTextureForSide(BlockView tileView, int x, int y, int z, int meta) intbooleanbooleanisCollidable(int meta, boolean bool) booleanbooleanbooleanisSideRendered(BlockView tileView, int x, int y, int z, int side) voidonBlockPlaced(Level level, int x, int y, int z) voidonBlockRemoved(Level level, int x, int y, int z) voidonCollideWithEntity(Level level, int x, int y, int z, EntityBase entityBase, Vec3f vec3f) voidonDestroyedByExplosion(Level level, int x, int y, int z) voidonScheduledTick(Level level, int x, int y, int z, Random rand) voidonSteppedOn(Level level, int x, int y, int z, EntityBase entityBase) voidrandomDisplayTick(Level level, int x, int y, int z, Random rand) voidupdateBoundingBox(BlockView tileView, int x, int y, int z) Methods inherited from class net.minecraft.block.BlockBase
afterBreak, canGrow, canPlaceAt, disableNotifyOnMetaDataChange, disableStat, drop, drop, droppedMeta, getBaseColour, getColourMultiplier, getEmitsRedstonePower, getHardness, getHardness, getPistonPushMode, getTranslatedName, getTranslationKey, indirectlyPowered, init, isPowered, isSolid, isStatEnabled, method_1564, method_1605, onAdjacentBlockUpdate, onBlockPlaced, onEntityCollision, onTileAction, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable
-
Field Details
-
template
- Mappings:
Namespace Name Mixin selector intermediary field_1672Lnet/minecraft/class_416;field_1672:Lnet/minecraft/class_17;glue field_1837Lclass_457;field_1837:Lclass_507;server aLlu;a:Lna;client aLss;a:Luu;named templateLnet/minecraft/block/Stairs;template:Lnet/minecraft/block/BlockBase;
-
-
Constructor Details
-
Stairs
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_416;<init>(ILnet/minecraft/class_17;)Vglue <init>Lclass_457;<init>(ILclass_507;)Vserver <init>Llu;<init>(ILna;)Vclient <init>Lss;<init>(ILuu;)Vnamed <init>Lnet/minecraft/block/Stairs;<init>(ILnet/minecraft/block/BlockBase;)V
-
-
Method Details
-
updateBoundingBox
- Overrides:
updateBoundingBoxin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1616Lnet/minecraft/class_17;method_1616(Lnet/minecraft/class_14;III)Vglue method_60Lclass_507;method_60(Lclass_584;III)Vserver aLna;a(Lpb;III)Vclient aLuu;a(Lxp;III)Vnamed updateBoundingBoxLnet/minecraft/block/BlockBase;updateBoundingBox(Lnet/minecraft/level/BlockView;III)V
-
getCollisionShape
- Overrides:
getCollisionShapein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1624Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_67Lclass_507;method_67(Lclass_129;III)Lclass_113;server eLna;e(Ldj;III)Lcz;client eLuu;e(Lfd;III)Leq;named getCollisionShapeLnet/minecraft/block/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
isFullOpaque
public boolean isFullOpaque()- Overrides:
isFullOpaquein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1620Lnet/minecraft/class_17;method_1620()Zglue method_65Lclass_507;method_65()Zserver aLna;a()Zclient cLuu;c()Znamed isFullOpaqueLnet/minecraft/block/BlockBase;isFullOpaque()Z
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1623Lnet/minecraft/class_17;method_1623()Zglue method_66Lclass_507;method_66()Zserver bLna;b()Zclient dLuu;d()Znamed isFullCubeLnet/minecraft/block/BlockBase;isFullCube()Z
-
getRenderType
- Overrides:
getRenderTypein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1621Lnet/minecraft/class_17;method_1621()Iglue method_652Lclass_507;method_652()Iserver method_1621Lna;method_1621()Iclient bLuu;b()Inamed getRenderTypeLnet/minecraft/block/BlockBase;getRenderType()I
-
isSideRendered
@Environment(CLIENT) public boolean isSideRendered(BlockView tileView, int x, int y, int z, int side) - Overrides:
isSideRenderedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1618Lnet/minecraft/class_17;method_1618(Lnet/minecraft/class_14;IIII)Zglue method_63Lclass_507;method_63(Lclass_584;IIII)Zserver method_1618Lna;method_1618(Lpb;IIII)Zclient bLuu;b(Lxp;IIII)Znamed isSideRenderedLnet/minecraft/block/BlockBase;isSideRendered(Lnet/minecraft/level/BlockView;IIII)Z
-
doesBoxCollide
- Overrides:
doesBoxCollidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1562Lnet/minecraft/class_17;method_1562(Lnet/minecraft/class_18;IIILnet/minecraft/class_25;Ljava/util/ArrayList;)Vglue method_1093Lclass_507;method_1093(Lclass_129;IIILclass_113;Ljava/util/ArrayList;)Vserver aLna;a(Ldj;IIILcz;Ljava/util/ArrayList;)Vclient aLuu;a(Lfd;IIILeq;Ljava/util/ArrayList;)Vnamed doesBoxCollideLnet/minecraft/block/BlockBase;doesBoxCollide(Lnet/minecraft/level/Level;IIILnet/minecraft/util/maths/Box;Ljava/util/ArrayList;)V
-
randomDisplayTick
- Overrides:
randomDisplayTickin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1617Lnet/minecraft/class_17;method_1617(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_62Lclass_507;method_62(Lclass_129;IIILjava/util/Random;)Vserver method_1617Lna;method_1617(Ldj;IIILjava/util/Random;)Vclient bLuu;b(Lfd;IIILjava/util/Random;)Vnamed randomDisplayTickLnet/minecraft/block/BlockBase;randomDisplayTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
activate
- Overrides:
activatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1610Lnet/minecraft/class_17;method_1610(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Vglue method_40Lclass_507;method_40(Lclass_129;IIILclass_172;)Vserver bLna;b(Ldj;IIILem;)Vclient bLuu;b(Lfd;IIILgs;)Vnamed activateLnet/minecraft/block/BlockBase;activate(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)V
-
activate
- Overrides:
activatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1612Lnet/minecraft/class_17;method_1612(Lnet/minecraft/class_18;IIII)Vglue method_42Lclass_507;method_42(Lclass_129;IIII)Vserver cLna;c(Ldj;IIII)Vclient cLuu;c(Lfd;IIII)Vnamed activateLnet/minecraft/block/BlockBase;activate(Lnet/minecraft/level/Level;IIII)V
-
getBrightness
- Overrides:
getBrightnessin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1604Lnet/minecraft/class_17;method_1604(Lnet/minecraft/class_14;III)Fglue method_2126Lclass_507;method_2126(Lclass_584;III)Fserver method_1604Lna;method_1604(Lpb;III)Fclient dLuu;d(Lxp;III)Fnamed getBrightnessLnet/minecraft/block/BlockBase;getBrightness(Lnet/minecraft/level/BlockView;III)F
-
getBlastResistance
- Overrides:
getBlastResistancein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1575Lnet/minecraft/class_17;method_1575(Lnet/minecraft/class_57;)Fglue method_1690Lclass_507;method_1690(Lclass_450;)Fserver aLna;a(Llq;)Fclient aLuu;a(Lsn;)Fnamed getBlastResistanceLnet/minecraft/block/BlockBase;getBlastResistance(Lnet/minecraft/entity/EntityBase;)F
-
getRenderPass
- Overrides:
getRenderPassin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1619Lnet/minecraft/class_17;method_1619()Iglue method_64Lclass_507;method_64()Iserver method_1619Lna;method_1619()Iclient b_Luu;b_()Inamed getRenderPassLnet/minecraft/block/BlockBase;getRenderPass()I
-
getDropId
- Overrides:
getDropIdin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1601Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)Iglue method_19Lclass_507;method_19(ILjava/util/Random;)Iserver aLna;a(ILjava/util/Random;)Iclient aLuu;a(ILjava/util/Random;)Inamed getDropIdLnet/minecraft/block/BlockBase;getDropId(ILjava/util/Random;)I
-
getDropCount
- Overrides:
getDropCountin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1603Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)Iglue method_21Lclass_507;method_21(Ljava/util/Random;)Iserver aLna;a(Ljava/util/Random;)Iclient aLuu;a(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/BlockBase;getDropCount(Ljava/util/Random;)I
-
getTextureForSide
public int getTextureForSide(int side, int meta) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1627Lnet/minecraft/class_17;method_1627(II)Iglue method_96Lclass_507;method_96(II)Iserver aLna;a(II)Iclient aLuu;a(II)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(II)I
-
getTextureForSide
public int getTextureForSide(int side) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1607Lnet/minecraft/class_17;method_1607(I)Iglue method_37Lclass_507;method_37(I)Iserver aLna;a(I)Iclient aLuu;a(I)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(I)I
-
getTextureForSide
@Environment(CLIENT) public int getTextureForSide(BlockView tileView, int x, int y, int z, int meta) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1626Lnet/minecraft/class_17;method_1626(Lnet/minecraft/class_14;IIII)Iglue method_743Lclass_507;method_743(Lclass_584;IIII)Iserver method_1626Lna;method_1626(Lpb;IIII)Iclient aLuu;a(Lxp;IIII)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(Lnet/minecraft/level/BlockView;IIII)I
-
getTickrate
public int getTickrate()- Overrides:
getTickratein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1565Lnet/minecraft/class_17;method_1565()Iglue method_123Lclass_507;method_123()Iserver cLna;c()Iclient eLuu;e()Inamed getTickrateLnet/minecraft/block/BlockBase;getTickrate()I
-
getOutlineShape
- Overrides:
getOutlineShapein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1622Lnet/minecraft/class_17;method_1622(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_653Lclass_507;method_653(Lclass_129;III)Lclass_113;server method_1622Lna;method_1622(Ldj;III)Lcz;client fLuu;f(Lfd;III)Leq;named getOutlineShapeLnet/minecraft/block/BlockBase;getOutlineShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
onCollideWithEntity
public void onCollideWithEntity(Level level, int x, int y, int z, EntityBase entityBase, Vec3f vec3f) - Overrides:
onCollideWithEntityin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1572Lnet/minecraft/class_17;method_1572(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;Lnet/minecraft/class_26;)Vglue method_1565Lclass_507;method_1565(Lclass_129;IIILclass_450;Lclass_45;)Vserver aLna;a(Ldj;IIILlq;Lba;)Vclient aLuu;a(Lfd;IIILsn;Lbt;)Vnamed onCollideWithEntityLnet/minecraft/block/BlockBase;onCollideWithEntity(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;Lnet/minecraft/util/maths/Vec3f;)V
-
isCollidable
public boolean isCollidable()- Overrides:
isCollidablein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1576Lnet/minecraft/class_17;method_1576()Zglue method_1691Lclass_507;method_1691()Zserver k_Lna;k_()Zclient v_Luu;v_()Znamed isCollidableLnet/minecraft/block/BlockBase;isCollidable()Z
-
isCollidable
public boolean isCollidable(int meta, boolean bool) - Overrides:
isCollidablein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1571Lnet/minecraft/class_17;method_1571(IZ)Zglue method_1564Lclass_507;method_1564(IZ)Zserver aLna;a(IZ)Zclient aLuu;a(IZ)Znamed isCollidableLnet/minecraft/block/BlockBase;isCollidable(IZ)Z
-
canPlaceAt
- Overrides:
canPlaceAtin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1567Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Zglue method_153Lclass_507;method_153(Lclass_129;III)Zserver aLna;a(Ldj;III)Zclient aLuu;a(Lfd;III)Znamed canPlaceAtLnet/minecraft/block/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
-
onBlockPlaced
- Overrides:
onBlockPlacedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1611Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)Vglue method_41Lclass_507;method_41(Lclass_129;III)Vserver cLna;c(Ldj;III)Vclient cLuu;c(Lfd;III)Vnamed onBlockPlacedLnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
-
onBlockRemoved
- Overrides:
onBlockRemovedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1630Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)Vglue method_99Lclass_507;method_99(Lclass_129;III)Vserver bLna;b(Ldj;III)Vclient bLuu;b(Lfd;III)Vnamed onBlockRemovedLnet/minecraft/block/BlockBase;onBlockRemoved(Lnet/minecraft/level/Level;III)V
-
beforeDestroyedByExplosion
public void beforeDestroyedByExplosion(Level level, int x, int y, int z, int meta, float dropChance) - Overrides:
beforeDestroyedByExplosionin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1625Lnet/minecraft/class_17;method_1625(Lnet/minecraft/class_18;IIIIF)Vglue method_683Lclass_507;method_683(Lclass_129;IIIIF)Vserver aLna;a(Ldj;IIIIF)Vclient aLuu;a(Lfd;IIIIF)Vnamed beforeDestroyedByExplosionLnet/minecraft/block/BlockBase;beforeDestroyedByExplosion(Lnet/minecraft/level/Level;IIIIF)V
-
onSteppedOn
- Overrides:
onSteppedOnin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1560Lnet/minecraft/class_17;method_1560(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;)Vglue method_100Lclass_507;method_100(Lclass_129;IIILclass_450;)Vserver bLna;b(Ldj;IIILlq;)Vclient bLuu;b(Lfd;IIILsn;)Vnamed onSteppedOnLnet/minecraft/block/BlockBase;onSteppedOn(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;)V
-
onScheduledTick
- Overrides:
onScheduledTickin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1602Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_20Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)Vserver aLna;a(Ldj;IIILjava/util/Random;)Vclient aLuu;a(Lfd;IIILjava/util/Random;)Vnamed onScheduledTickLnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
canUse
- Overrides:
canUsein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1608Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Zglue method_38Lclass_507;method_38(Lclass_129;IIILclass_172;)Zserver aLna;a(Ldj;IIILem;)Zclient aLuu;a(Lfd;IIILgs;)Znamed canUseLnet/minecraft/block/BlockBase;canUse(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)Z
-
onDestroyedByExplosion
- Overrides:
onDestroyedByExplosionin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1613Lnet/minecraft/class_17;method_1613(Lnet/minecraft/class_18;III)Vglue method_43Lclass_507;method_43(Lclass_129;III)Vserver dLna;d(Ldj;III)Vclient dLuu;d(Lfd;III)Vnamed onDestroyedByExplosionLnet/minecraft/block/BlockBase;onDestroyedByExplosion(Lnet/minecraft/level/Level;III)V
-
afterPlaced
- Overrides:
afterPlacedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1614Lnet/minecraft/class_17;method_1614(Lnet/minecraft/class_18;IIILnet/minecraft/class_127;)Vglue method_464Lclass_507;method_464(Lclass_129;IIILclass_283;)Vserver aLna;a(Ldj;IIILhl;)Vclient aLuu;a(Lfd;IIILls;)Vnamed afterPlacedLnet/minecraft/block/BlockBase;afterPlaced(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/Living;)V
-