Class Cactus


public class Cactus extends BlockBase
Mappings:
Namespace Name
intermediary net/minecraft/class_329
glue class_352
server je
client or
named net/minecraft/block/Cactus
  • Constructor Details

    • Cactus

      protected Cactus(int id, int texture)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_329;<init>(II)V
      glue <init> Lclass_352;<init>(II)V
      server <init> Lje;<init>(II)V
      client <init> Lor;<init>(II)V
      named <init> Lnet/minecraft/block/Cactus;<init>(II)V
  • Method Details

    • onScheduledTick

      public void onScheduledTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      onScheduledTick in class BlockBase
      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 onScheduledTick Lnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
    • getCollisionShape

      public Box getCollisionShape(Level level, int x, int y, int z)
      Overrides:
      getCollisionShape in class BlockBase
      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/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
    • getOutlineShape

      @Environment(CLIENT) public Box getOutlineShape(Level level, int x, int y, int z)
      Overrides:
      getOutlineShape in class BlockBase
      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 getOutlineShape Lnet/minecraft/block/BlockBase;getOutlineShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
    • getTextureForSide

      public int getTextureForSide(int side)
      Overrides:
      getTextureForSide in class BlockBase
      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 getTextureForSide Lnet/minecraft/block/BlockBase;getTextureForSide(I)I
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class BlockBase
      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/BlockBase;isFullCube()Z
    • isFullOpaque

      public boolean isFullOpaque()
      Overrides:
      isFullOpaque in class BlockBase
      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 isFullOpaque Lnet/minecraft/block/BlockBase;isFullOpaque()Z
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class BlockBase
      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/BlockBase;getRenderType()I
    • canPlaceAt

      public boolean canPlaceAt(Level level, int x, int y, int z)
      Overrides:
      canPlaceAt in class BlockBase
      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/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
    • onAdjacentBlockUpdate

      public void onAdjacentBlockUpdate(Level level, int x, int y, int z, int id)
      Overrides:
      onAdjacentBlockUpdate in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1609 Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)V
      glue method_39 Lclass_507;method_39(Lclass_129;IIII)V
      server b Lna;b(Ldj;IIII)V
      client b Luu;b(Lfd;IIII)V
      named onAdjacentBlockUpdate Lnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
    • canGrow

      public boolean canGrow(Level level, int x, int y, int z)
      Overrides:
      canGrow in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1566 Lnet/minecraft/class_17;method_1566(Lnet/minecraft/class_18;III)Z
      glue method_1425 Lclass_507;method_1425(Lclass_129;III)Z
      server f Lna;f(Ldj;III)Z
      client g Luu;g(Lfd;III)Z
      named canGrow Lnet/minecraft/block/BlockBase;canGrow(Lnet/minecraft/level/Level;III)Z
    • onEntityCollision

      public void onEntityCollision(Level level, int x, int y, int z, EntityBase entityBase)
      Overrides:
      onEntityCollision in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1615 Lnet/minecraft/class_17;method_1615(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;)V
      glue method_59 Lclass_507;method_59(Lclass_129;IIILclass_450;)V
      server a Lna;a(Ldj;IIILlq;)V
      client a Luu;a(Lfd;IIILsn;)V
      named onEntityCollision Lnet/minecraft/block/BlockBase;onEntityCollision(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;)V