Class StairsBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.StairsBlock

public class StairsBlock extends Block
Mappings:
Namespace Name
intermediary net/minecraft/class_416
glue class_457
server lu
client ss
named net/minecraft/block/StairsBlock
  • Field Details

    • baseBlock

      private Block baseBlock
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1672 Lnet/minecraft/class_416;field_1672:Lnet/minecraft/class_17;
      glue field_1837 Lclass_457;field_1837:Lclass_507;
      server a Llu;a:Lna;
      client a Lss;a:Luu;
      named baseBlock Lnet/minecraft/block/StairsBlock;baseBlock:Lnet/minecraft/block/Block;
  • Constructor Details

    • StairsBlock

      protected StairsBlock(int id, Block block)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_416;<init>(ILnet/minecraft/class_17;)V
      glue <init> Lclass_457;<init>(ILclass_507;)V
      server <init> Llu;<init>(ILna;)V
      client <init> Lss;<init>(ILuu;)V
      named <init> Lnet/minecraft/block/StairsBlock;<init>(ILnet/minecraft/block/Block;)V
  • Method Details

    • updateBoundingBox

      public void updateBoundingBox(BlockView blockView, int x, int y, int z)
      Overrides:
      updateBoundingBox in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1616 Lnet/minecraft/class_17;method_1616(Lnet/minecraft/class_14;III)V
      glue method_60 Lclass_507;method_60(Lclass_584;III)V
      server a Lna;a(Lpb;III)V
      client a Luu;a(Lxp;III)V
      named updateBoundingBox Lnet/minecraft/block/Block;updateBoundingBox(Lnet/minecraft/world/BlockView;III)V
    • getCollisionShape

      public Box getCollisionShape(World world, int x, int y, int z)
      Overrides:
      getCollisionShape in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1624 Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;
      glue method_67 Lclass_507;method_67(Lclass_129;III)Lclass_113;
      server e Lna;e(Ldj;III)Lcz;
      client e Luu;e(Lfd;III)Leq;
      named getCollisionShape Lnet/minecraft/block/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1620 Lnet/minecraft/class_17;method_1620()Z
      glue method_65 Lclass_507;method_65()Z
      server a Lna;a()Z
      client c Luu;c()Z
      named isOpaque Lnet/minecraft/block/Block;isOpaque()Z
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1623 Lnet/minecraft/class_17;method_1623()Z
      glue method_66 Lclass_507;method_66()Z
      server b Lna;b()Z
      client d Luu;d()Z
      named isFullCube Lnet/minecraft/block/Block;isFullCube()Z
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1621 Lnet/minecraft/class_17;method_1621()I
      glue method_652 Lclass_507;method_652()I
      server method_1621 Lna;method_1621()I
      client b Luu;b()I
      named getRenderType Lnet/minecraft/block/Block;getRenderType()I
    • isSideVisible

      @Environment(CLIENT) public boolean isSideVisible(BlockView blockView, int x, int y, int z, int side)
      Overrides:
      isSideVisible in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1618 Lnet/minecraft/class_17;method_1618(Lnet/minecraft/class_14;IIII)Z
      glue method_63 Lclass_507;method_63(Lclass_584;IIII)Z
      server method_1618 Lna;method_1618(Lpb;IIII)Z
      client b Luu;b(Lxp;IIII)Z
      named isSideVisible Lnet/minecraft/block/Block;isSideVisible(Lnet/minecraft/world/BlockView;IIII)Z
    • addIntersectingBoundingBox

      public void addIntersectingBoundingBox(World world, int x, int y, int z, Box box, ArrayList boxes)
      Overrides:
      addIntersectingBoundingBox in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1562 Lnet/minecraft/class_17;method_1562(Lnet/minecraft/class_18;IIILnet/minecraft/class_25;Ljava/util/ArrayList;)V
      glue method_1093 Lclass_507;method_1093(Lclass_129;IIILclass_113;Ljava/util/ArrayList;)V
      server a Lna;a(Ldj;IIILcz;Ljava/util/ArrayList;)V
      client a Luu;a(Lfd;IIILeq;Ljava/util/ArrayList;)V
      named addIntersectingBoundingBox Lnet/minecraft/block/Block;addIntersectingBoundingBox(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Box;Ljava/util/ArrayList;)V
    • randomDisplayTick

      @Environment(CLIENT) public void randomDisplayTick(World world, int x, int y, int z, Random random)
      Overrides:
      randomDisplayTick in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1617 Lnet/minecraft/class_17;method_1617(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_62 Lclass_507;method_62(Lclass_129;IIILjava/util/Random;)V
      server method_1617 Lna;method_1617(Ldj;IIILjava/util/Random;)V
      client b Luu;b(Lfd;IIILjava/util/Random;)V
      named randomDisplayTick Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • onBlockBreakStart

      public void onBlockBreakStart(World world, int x, int y, int z, PlayerEntity player)
      Overrides:
      onBlockBreakStart in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1610 Lnet/minecraft/class_17;method_1610(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)V
      glue method_40 Lclass_507;method_40(Lclass_129;IIILclass_172;)V
      server b Lna;b(Ldj;IIILem;)V
      client b Luu;b(Lfd;IIILgs;)V
      named onBlockBreakStart Lnet/minecraft/block/Block;onBlockBreakStart(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)V
    • onMetadataChange

      public void onMetadataChange(World world, int x, int y, int z, int meta)
      Overrides:
      onMetadataChange in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1612 Lnet/minecraft/class_17;method_1612(Lnet/minecraft/class_18;IIII)V
      glue method_42 Lclass_507;method_42(Lclass_129;IIII)V
      server c Lna;c(Ldj;IIII)V
      client c Luu;c(Lfd;IIII)V
      named onMetadataChange Lnet/minecraft/block/Block;onMetadataChange(Lnet/minecraft/world/World;IIII)V
    • getLuminance

      @Environment(CLIENT) public float getLuminance(BlockView blockView, int x, int y, int z)
      Overrides:
      getLuminance in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1604 Lnet/minecraft/class_17;method_1604(Lnet/minecraft/class_14;III)F
      glue method_2126 Lclass_507;method_2126(Lclass_584;III)F
      server method_1604 Lna;method_1604(Lpb;III)F
      client d Luu;d(Lxp;III)F
      named getLuminance Lnet/minecraft/block/Block;getLuminance(Lnet/minecraft/world/BlockView;III)F
    • getBlastResistance

      public float getBlastResistance(Entity entity)
      Overrides:
      getBlastResistance in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1575 Lnet/minecraft/class_17;method_1575(Lnet/minecraft/class_57;)F
      glue method_1690 Lclass_507;method_1690(Lclass_450;)F
      server a Lna;a(Llq;)F
      client a Luu;a(Lsn;)F
      named getBlastResistance Lnet/minecraft/block/Block;getBlastResistance(Lnet/minecraft/entity/Entity;)F
    • getRenderLayer

      @Environment(CLIENT) public int getRenderLayer()
      Overrides:
      getRenderLayer in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1619 Lnet/minecraft/class_17;method_1619()I
      glue method_64 Lclass_507;method_64()I
      server method_1619 Lna;method_1619()I
      client b_ Luu;b_()I
      named getRenderLayer Lnet/minecraft/block/Block;getRenderLayer()I
    • getDroppedItemId

      public int getDroppedItemId(int blockMeta, Random random)
      Overrides:
      getDroppedItemId in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1601 Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)I
      glue method_19 Lclass_507;method_19(ILjava/util/Random;)I
      server a Lna;a(ILjava/util/Random;)I
      client a Luu;a(ILjava/util/Random;)I
      named getDroppedItemId Lnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
    • getDroppedItemCount

      public int getDroppedItemCount(Random random)
      Overrides:
      getDroppedItemCount in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1603 Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)I
      glue method_21 Lclass_507;method_21(Ljava/util/Random;)I
      server a Lna;a(Ljava/util/Random;)I
      client a Luu;a(Ljava/util/Random;)I
      named getDroppedItemCount Lnet/minecraft/block/Block;getDroppedItemCount(Ljava/util/Random;)I
    • getTexture

      public int getTexture(int side, int meta)
      Overrides:
      getTexture in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1627 Lnet/minecraft/class_17;method_1627(II)I
      glue method_96 Lclass_507;method_96(II)I
      server a Lna;a(II)I
      client a Luu;a(II)I
      named getTexture Lnet/minecraft/block/Block;getTexture(II)I
    • getTexture

      public int getTexture(int side)
      Overrides:
      getTexture in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1607 Lnet/minecraft/class_17;method_1607(I)I
      glue method_37 Lclass_507;method_37(I)I
      server a Lna;a(I)I
      client a Luu;a(I)I
      named getTexture Lnet/minecraft/block/Block;getTexture(I)I
    • getTextureId

      @Environment(CLIENT) public int getTextureId(BlockView blockView, int x, int y, int z, int side)
      Overrides:
      getTextureId in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1626 Lnet/minecraft/class_17;method_1626(Lnet/minecraft/class_14;IIII)I
      glue method_743 Lclass_507;method_743(Lclass_584;IIII)I
      server method_1626 Lna;method_1626(Lpb;IIII)I
      client a Luu;a(Lxp;IIII)I
      named getTextureId Lnet/minecraft/block/Block;getTextureId(Lnet/minecraft/world/BlockView;IIII)I
    • getTickRate

      public int getTickRate()
      Overrides:
      getTickRate in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1565 Lnet/minecraft/class_17;method_1565()I
      glue method_123 Lclass_507;method_123()I
      server c Lna;c()I
      client e Luu;e()I
      named getTickRate Lnet/minecraft/block/Block;getTickRate()I
    • getBoundingBox

      @Environment(CLIENT) public Box getBoundingBox(World world, int x, int y, int z)
      Overrides:
      getBoundingBox in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1622 Lnet/minecraft/class_17;method_1622(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;
      glue method_653 Lclass_507;method_653(Lclass_129;III)Lclass_113;
      server method_1622 Lna;method_1622(Ldj;III)Lcz;
      client f Luu;f(Lfd;III)Leq;
      named getBoundingBox Lnet/minecraft/block/Block;getBoundingBox(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • applyVelocity

      public void applyVelocity(World world, int x, int y, int z, Entity entity, Vec3d vec3d)
      Overrides:
      applyVelocity in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1572 Lnet/minecraft/class_17;method_1572(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;Lnet/minecraft/class_26;)V
      glue method_1565 Lclass_507;method_1565(Lclass_129;IIILclass_450;Lclass_45;)V
      server a Lna;a(Ldj;IIILlq;Lba;)V
      client a Luu;a(Lfd;IIILsn;Lbt;)V
      named applyVelocity Lnet/minecraft/block/Block;applyVelocity(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
    • hasCollision

      public boolean hasCollision()
      Overrides:
      hasCollision in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1576 Lnet/minecraft/class_17;method_1576()Z
      glue method_1691 Lclass_507;method_1691()Z
      server k_ Lna;k_()Z
      client v_ Luu;v_()Z
      named hasCollision Lnet/minecraft/block/Block;hasCollision()Z
    • hasCollision

      public boolean hasCollision(int meta, boolean bool)
      Overrides:
      hasCollision in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1571 Lnet/minecraft/class_17;method_1571(IZ)Z
      glue method_1564 Lclass_507;method_1564(IZ)Z
      server a Lna;a(IZ)Z
      client a Luu;a(IZ)Z
      named hasCollision Lnet/minecraft/block/Block;hasCollision(IZ)Z
    • canPlaceAt

      public boolean canPlaceAt(World world, int x, int y, int z)
      Overrides:
      canPlaceAt in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1567 Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Z
      glue method_153 Lclass_507;method_153(Lclass_129;III)Z
      server a Lna;a(Ldj;III)Z
      client a Luu;a(Lfd;III)Z
      named canPlaceAt Lnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;III)Z
    • onPlaced

      public void onPlaced(World world, int x, int y, int z)
      Overrides:
      onPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1611 Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)V
      glue method_41 Lclass_507;method_41(Lclass_129;III)V
      server c Lna;c(Ldj;III)V
      client c Luu;c(Lfd;III)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;III)V
    • onBreak

      public void onBreak(World world, int x, int y, int z)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1630 Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)V
      glue method_99 Lclass_507;method_99(Lclass_129;III)V
      server b Lna;b(Ldj;III)V
      client b Luu;b(Lfd;III)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;III)V
    • dropStacks

      public void dropStacks(World world, int x, int y, int z, int int2, float float2)
      Overrides:
      dropStacks in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1625 Lnet/minecraft/class_17;method_1625(Lnet/minecraft/class_18;IIIIF)V
      glue method_683 Lclass_507;method_683(Lclass_129;IIIIF)V
      server a Lna;a(Ldj;IIIIF)V
      client a Luu;a(Lfd;IIIIF)V
      named dropStacks Lnet/minecraft/block/Block;dropStacks(Lnet/minecraft/world/World;IIIIF)V
    • onSteppedOn

      public void onSteppedOn(World world, int x, int y, int z, Entity entity)
      Overrides:
      onSteppedOn in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1560 Lnet/minecraft/class_17;method_1560(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;)V
      glue method_100 Lclass_507;method_100(Lclass_129;IIILclass_450;)V
      server b Lna;b(Ldj;IIILlq;)V
      client b Luu;b(Lfd;IIILsn;)V
      named onSteppedOn Lnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
    • onTick

      public void onTick(World world, int x, int y, int z, Random random)
      Called at a frequency based on the return value of Block.getTickRate(). This method will be called approximately Block.getTickRate() times per second.
      Overrides:
      onTick in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1602 Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_20 Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)V
      server a Lna;a(Ldj;IIILjava/util/Random;)V
      client a Luu;a(Lfd;IIILjava/util/Random;)V
      named onTick Lnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • onUse

      public boolean onUse(World world, int x, int y, int z, PlayerEntity player)
      Overrides:
      onUse in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1608 Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Z
      glue method_38 Lclass_507;method_38(Lclass_129;IIILclass_172;)Z
      server a Lna;a(Ldj;IIILem;)Z
      client a Luu;a(Lfd;IIILgs;)Z
      named onUse Lnet/minecraft/block/Block;onUse(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)Z
    • onDestroyedByExplosion

      public void onDestroyedByExplosion(World world, int x, int y, int z)
      Overrides:
      onDestroyedByExplosion in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1613 Lnet/minecraft/class_17;method_1613(Lnet/minecraft/class_18;III)V
      glue method_43 Lclass_507;method_43(Lclass_129;III)V
      server d Lna;d(Ldj;III)V
      client d Luu;d(Lfd;III)V
      named onDestroyedByExplosion Lnet/minecraft/block/Block;onDestroyedByExplosion(Lnet/minecraft/world/World;III)V
    • onPlaced

      public void onPlaced(World world, int x, int y, int z, LivingEntity placer)
      Overrides:
      onPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1614 Lnet/minecraft/class_17;method_1614(Lnet/minecraft/class_18;IIILnet/minecraft/class_127;)V
      glue method_464 Lclass_507;method_464(Lclass_129;IIILclass_283;)V
      server a Lna;a(Ldj;IIILhl;)V
      client a Luu;a(Lfd;IIILls;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;)V