Class PlantBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
Direct Known Subclasses:
AttachedStemBlock, CropBlock, DeadBushBlock, DoublePlantBlock, FlowerBlock, LilyPadBlock, MushroomBlock, NetherWartBlock, SaplingBlock, TallPlantBlock

public class PlantBlock extends Block
Mappings:
Namespace Name
official aic
intermediary net/minecraft/class_1754
named net/minecraft/block/PlantBlock
  • Constructor Details

    • PlantBlock

      protected PlantBlock(Material material)
      Parameters:
      material - The block's material
      Mappings:
      Namespace Name Mixin selector
      official <init> Laht;<init>(Lave;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
    • PlantBlock

      protected PlantBlock()
  • Method Details

    • 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
    • canPlantOnTop

      protected boolean canPlantOnTop(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Laic;a(Laht;)Z
      intermediary method_6463 Lnet/minecraft/class_1754;method_6463(Lnet/minecraft/class_197;)Z
      named canPlantOnTop Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/Block;)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
    • 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
    • method_6464

      protected void method_6464(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Laic;e(Lafm;III)V
      intermediary method_6464 Lnet/minecraft/class_1754;method_6464(Lnet/minecraft/class_1150;III)V
      named method_6464 Lnet/minecraft/block/PlantBlock;method_6464(Lnet/minecraft/world/World;III)V
    • 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;
    • 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