Class LeavesBlock


public class LeavesBlock extends TransparentBlock
Mappings:
Namespace Name
intermediary net/minecraft/class_299
glue class_32
server ar
client bk
named net/minecraft/block/LeavesBlock
  • Field Details

    • field_1172

      private int field_1172
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1172 Lnet/minecraft/class_299;field_1172:I
      glue field_35 Lclass_32;field_35:I
      server c Lar;c:I
      client c Lbk;c:I
      named field_1172 Lnet/minecraft/block/LeavesBlock;field_1172:I
    • field_1171

      int[] field_1171
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1171 Lnet/minecraft/class_299;field_1171:[I
      glue field_34 Lclass_32;field_34:[I
      server a Lar;a:[I
      client a Lbk;a:[I
      named field_1171 Lnet/minecraft/block/LeavesBlock;field_1171:[I
  • Constructor Details

    • LeavesBlock

      protected LeavesBlock(int id, int textureId)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_299;<init>(II)V
      glue <init> Lclass_32;<init>(II)V
      server <init> Lar;<init>(II)V
      client <init> Lbk;<init>(II)V
      named <init> Lnet/minecraft/block/LeavesBlock;<init>(II)V
  • Method Details

    • getColor

      @Environment(CLIENT) public int getColor(int meta)
      Overrides:
      getColor in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1589 Lnet/minecraft/class_17;method_1589(I)I
      glue method_183 Lclass_507;method_183(I)I
      server method_1589 Lna;method_1589(I)I
      client b Luu;b(I)I
      named getColor Lnet/minecraft/block/Block;getColor(I)I
    • getColorMultiplier

      @Environment(CLIENT) public int getColorMultiplier(BlockView blockView, int x, int y, int z)
      Overrides:
      getColorMultiplier in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1600 Lnet/minecraft/class_17;method_1600(Lnet/minecraft/class_14;III)I
      glue method_184 Lclass_507;method_184(Lclass_584;III)I
      server method_1600 Lna;method_1600(Lpb;III)I
      client b Luu;b(Lxp;III)I
      named getColorMultiplier Lnet/minecraft/block/Block;getColorMultiplier(Lnet/minecraft/world/BlockView;III)I
    • 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
    • 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
    • method_990

      private void method_990(World world, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_990 Lnet/minecraft/class_299;method_990(Lnet/minecraft/class_18;III)V
      glue method_101 Lclass_32;method_101(Lclass_129;III)V
      server g Lar;g(Ldj;III)V
      client h Lbk;h(Lfd;III)V
      named method_990 Lnet/minecraft/block/LeavesBlock;method_990(Lnet/minecraft/world/World;III)V
    • 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
    • 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
    • afterBreak

      public void afterBreak(World world, PlayerEntity playerEntity, int x, int y, int z, int meta)
      Overrides:
      afterBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1628 Lnet/minecraft/class_17;method_1628(Lnet/minecraft/class_18;Lnet/minecraft/class_54;IIII)V
      glue method_97 Lclass_507;method_97(Lclass_129;Lclass_172;IIII)V
      server a Lna;a(Ldj;Lem;IIII)V
      client a Luu;a(Lfd;Lgs;IIII)V
      named afterBreak Lnet/minecraft/block/Block;afterBreak(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;IIII)V
    • getDroppedItemMeta

      protected int getDroppedItemMeta(int blockMeta)
      Overrides:
      getDroppedItemMeta in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1629 Lnet/minecraft/class_17;method_1629(I)I
      glue method_98 Lclass_507;method_98(I)I
      server a_ Lna;a_(I)I
      client b_ Luu;b_(I)I
      named getDroppedItemMeta Lnet/minecraft/block/Block;getDroppedItemMeta(I)I
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class TransparentBlock
      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
    • 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
    • method_991

      @Environment(CLIENT) public void method_991(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_991 Lnet/minecraft/class_299;method_991(Z)V
      glue method_182 Lclass_32;method_182(Z)V
      server method_991 Lar;method_991(Z)V
      client a Lbk;a(Z)V
      named method_991 Lnet/minecraft/block/LeavesBlock;method_991(Z)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