Class ChorusPlantBlock

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

public class ChorusPlantBlock extends Block
Mappings:
Namespace Name
official apk
intermediary net/minecraft/class_2721
named net/minecraft/block/ChorusPlantBlock
  • Field Details

    • field_12626

      public static final BooleanProperty field_12626
      Mappings:
      Namespace Name Mixin selector
      official a Lapk;a:Laxf;
      intermediary field_12626 Lnet/minecraft/class_2721;field_12626:Lnet/minecraft/class_2243;
      named field_12626 Lnet/minecraft/block/ChorusPlantBlock;field_12626:Lnet/minecraft/state/property/BooleanProperty;
    • field_12627

      public static final BooleanProperty field_12627
      Mappings:
      Namespace Name Mixin selector
      official b Lapk;b:Laxf;
      intermediary field_12627 Lnet/minecraft/class_2721;field_12627:Lnet/minecraft/class_2243;
      named field_12627 Lnet/minecraft/block/ChorusPlantBlock;field_12627:Lnet/minecraft/state/property/BooleanProperty;
    • field_12628

      public static final BooleanProperty field_12628
      Mappings:
      Namespace Name Mixin selector
      official c Lapk;c:Laxf;
      intermediary field_12628 Lnet/minecraft/class_2721;field_12628:Lnet/minecraft/class_2243;
      named field_12628 Lnet/minecraft/block/ChorusPlantBlock;field_12628:Lnet/minecraft/state/property/BooleanProperty;
    • field_12629

      public static final BooleanProperty field_12629
      Mappings:
      Namespace Name Mixin selector
      official d Lapk;d:Laxf;
      intermediary field_12629 Lnet/minecraft/class_2721;field_12629:Lnet/minecraft/class_2243;
      named field_12629 Lnet/minecraft/block/ChorusPlantBlock;field_12629:Lnet/minecraft/state/property/BooleanProperty;
    • field_12630

      public static final BooleanProperty field_12630
      Mappings:
      Namespace Name Mixin selector
      official e Lapk;e:Laxf;
      intermediary field_12630 Lnet/minecraft/class_2721;field_12630:Lnet/minecraft/class_2243;
      named field_12630 Lnet/minecraft/block/ChorusPlantBlock;field_12630:Lnet/minecraft/state/property/BooleanProperty;
    • field_12631

      public static final BooleanProperty field_12631
      Mappings:
      Namespace Name Mixin selector
      official f Lapk;f:Laxf;
      intermediary field_12631 Lnet/minecraft/class_2721;field_12631:Lnet/minecraft/class_2243;
      named field_12631 Lnet/minecraft/block/ChorusPlantBlock;field_12631:Lnet/minecraft/state/property/BooleanProperty;
  • Constructor Details

    • ChorusPlantBlock

      protected ChorusPlantBlock()
  • Method Details

    • getBlockState

      public BlockState getBlockState(BlockState state, BlockView view, BlockPos pos)
      Returns the current block's blockstate at a certain position
      Overrides:
      getBlockState in class Block
      Parameters:
      state - The original blockstate
      view - BlockView instance
      pos - The block's position
      Returns:
      state
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(Lawt;Lamy;Let;)Lawt;
      intermediary method_8656 Lnet/minecraft/class_197;method_8656(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/block/Block;getBlockState(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getCollisionBox

      public Box getCollisionBox(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      getCollisionBox in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;Lamy;Let;)Lbhb;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCollisionBox Lnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • appendCollisionBoxes

      public void appendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Entity entity, boolean isActualState)
      Overrides:
      appendCollisionBoxes in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Lbhb;Ljava/util/List;Lvg;Z)V
      intermediary method_11553 Lnet/minecraft/class_197;method_11553(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;Z)V
      named appendCollisionBoxes Lnet/minecraft/block/Block;appendCollisionBoxes(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;Z)V
    • getData

      public int getData(BlockState state)
      Returns the data value for a blockstate Throws an IllegalArmumentException as this method does not work
      Overrides:
      getData in class Block
      Parameters:
      state - The Blockstate
      Returns:
      Zero
      Mappings:
      Namespace Name Mixin selector
      official e Laow;e(Lawt;)I
      intermediary method_8671 Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)I
      named getData Lnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
    • scheduledTick

      public void scheduledTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated as per a schedule
      Overrides:
      scheduledTick in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamu;Let;Lawt;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • getDropItem

      public Item getDropItem(BlockState blockState, Random random, int state)
      Returns the item that must be dropped when the block is broken
      Overrides:
      getDropItem in class Block
      Parameters:
      blockState - The block's BlockState
      random - Random object
      state - State
      Returns:
      The Item that drops after the block breaks
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Ljava/util/Random;I)Lain;
      intermediary method_398 Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;
      named getDropItem Lnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
    • getDropCount

      public int getDropCount(Random rand)
      Returns the amount of items the block should drop on breaking without bonus rolls.
      Overrides:
      getDropCount in class Block
      Parameters:
      rand - Random object
      Returns:
      Amount of items to be dropped
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Ljava/util/Random;)I
      intermediary method_403 Lnet/minecraft/class_197;method_403(Ljava/util/Random;)I
      named getDropCount Lnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;)Z
      intermediary method_11560 Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Z
      named isFullBoundsCubeForCulling Lnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
    • canBePlacedAtPos

      public boolean canBePlacedAtPos(World world, BlockPos pos)
      Returns whether the current block can be placed at a certain BlockPos
      Overrides:
      canBePlacedAtPos in class Block
      Returns:
      Whether the current block can be placed at a BlockPos
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;)Z
      intermediary method_8673 Lnet/minecraft/class_197;method_8673(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named canBePlacedAtPos Lnet/minecraft/block/Block;canBePlacedAtPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Laow;Let;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • method_11590

      public boolean method_11590(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lapk;b(Lamu;Let;)Z
      intermediary method_11590 Lnet/minecraft/class_2721;method_11590(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named method_11590 Lnet/minecraft/block/ChorusPlantBlock;method_11590(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • getRenderLayerType

      @Environment(CLIENT) public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official f Laow;f()Lamm;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • method_8654

      @Environment(CLIENT) public boolean method_8654(BlockState state, BlockView view, BlockPos pos, Direction direction)
      Overrides:
      method_8654 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamy;Let;Lfa;)Z
      intermediary method_8654 Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_8654 Lnet/minecraft/block/Block;method_8654(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • appendProperties

      protected StateManager appendProperties()
      Returns a new state manager with a property array.
      Overrides:
      appendProperties in class Block
      Returns:
      New state manager
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b()Lawu;
      intermediary method_8676 Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;
      named appendProperties Lnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
    • blocksMovement

      public boolean blocksMovement(BlockView view, BlockPos pos)
      Overrides:
      blocksMovement in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lamy;Let;)Z
      intermediary method_8663 Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named blocksMovement Lnet/minecraft/block/Block;blocksMovement(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamy;Lawt;Let;Lfa;)Lawr;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;