Class CactusBlock

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

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

    • CactusBlock

      protected CactusBlock(int id, int textureId)
      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/CactusBlock;<init>(II)V
  • Method Details

    • 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
    • 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;
    • 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;
    • 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
    • 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
    • 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
    • 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
    • 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
    • neighborUpdate

      public void neighborUpdate(World world, int x, int y, int z, int id)
      Overrides:
      neighborUpdate in class Block
      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 neighborUpdate Lnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
    • canGrow

      public boolean canGrow(World world, int x, int y, int z)
      Overrides:
      canGrow in class Block
      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/Block;canGrow(Lnet/minecraft/world/World;III)Z
    • onEntityCollision

      public void onEntityCollision(World world, int x, int y, int z, Entity entity)
      Overrides:
      onEntityCollision in class Block
      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/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V