Class SugarCaneBlock

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

public class SugarCaneBlock extends Block
Mappings:
Namespace Name
official alp
intermediary net/minecraft/class_180
named net/minecraft/block/SugarCaneBlock
  • Constructor Details

    • SugarCaneBlock

      protected SugarCaneBlock()
  • Method Details

    • onTick

      public void onTick(World world, int x, int y, int z, Random random)
      Overrides:
      onTick in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILjava/util/Random;)V
      intermediary method_436 Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)V
      named onTick Lnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • canPlaceBlockAt

      public boolean canPlaceBlockAt(World world, int x, int y, int z)
      Overrides:
      canPlaceBlockAt in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c(Lafm;III)Z
      intermediary method_434 Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Z
      named canPlaceBlockAt Lnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
    • onNeighborUpdate

      public void onNeighborUpdate(World world, int x, int y, int z, Block block)
      Overrides:
      onNeighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;)V
      intermediary method_408 Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)V
      named onNeighborUpdate Lnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
    • method_379

      protected final boolean method_379(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Lalp;e(Lafm;III)Z
      intermediary method_379 Lnet/minecraft/class_180;method_379(Lnet/minecraft/class_1150;III)Z
      named method_379 Lnet/minecraft/block/SugarCaneBlock;method_379(Lnet/minecraft/world/World;III)Z
    • canStayPlaced

      public boolean canStayPlaced(World world, int x, int y, int z)
      Overrides:
      canStayPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      official j Laht;j(Lafm;III)Z
      intermediary method_450 Lnet/minecraft/class_197;method_450(Lnet/minecraft/class_1150;III)Z
      named canStayPlaced Lnet/minecraft/block/Block;canStayPlaced(Lnet/minecraft/world/World;III)Z
    • method_454

      public Box method_454(World world, int int2, int int3, int int4)
      Overrides:
      method_454 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;III)Laye;
      intermediary method_454 Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;
      named method_454 Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • method_398

      public Item method_398(int int2, Random random, int int3)
      Overrides:
      method_398 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(ILjava/util/Random;I)Labm;
      intermediary method_398 Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;
      named method_398 Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
    • hasTransperancy

      public boolean hasTransperancy()
      Overrides:
      hasTransperancy in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c()Z
      intermediary method_449 Lnet/minecraft/class_197;method_449()Z
      named hasTransperancy Lnet/minecraft/block/Block;hasTransperancy()Z
    • renderAsNormalBlock

      public boolean renderAsNormalBlock()
      Returns whether the block can be rendered as a normal block
      Overrides:
      renderAsNormalBlock in class Block
      Returns:
      Whether the block can be rendered as a normal block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d()Z
      intermediary method_441 Lnet/minecraft/class_197;method_441()Z
      named renderAsNormalBlock Lnet/minecraft/block/Block;renderAsNormalBlock()Z
    • getBlockType

      public int getBlockType()
      Overrides:
      getBlockType in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b()I
      intermediary method_429 Lnet/minecraft/class_197;method_429()I
      named getBlockType Lnet/minecraft/block/Block;getBlockType()I
    • method_407

      @Environment(CLIENT) public Item method_407(World world, int int2, int int3, int int4)
      Overrides:
      method_407 in class Block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d(Lafm;III)Labm;
      intermediary method_407 Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;
      named method_407 Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
    • method_438

      @Environment(CLIENT) public int method_438(BlockView blockView, int int2, int int3, int int4)
      Overrides:
      method_438 in class Block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d(Lafw;III)I
      intermediary method_438 Lnet/minecraft/class_197;method_438(Lnet/minecraft/class_1158;III)I
      named method_438 Lnet/minecraft/block/Block;method_438(Lnet/minecraft/world/BlockView;III)I