Class CropBlock

All Implemented Interfaces:
Growable, Itemable
Direct Known Subclasses:
BeetrootsBlock, CarrotsBlock, PotatoesBlock

public class CropBlock extends PlantBlock implements Growable
Mappings:
Namespace Name
official bdv
intermediary net/minecraft/class_122
named net/minecraft/block/CropBlock
  • Field Details

    • field_18264

      public static final IntProperty field_18264
      Mappings:
      Namespace Name Mixin selector
      official b Lbdv;b:Lbmj;
      intermediary field_18264 Lnet/minecraft/class_122;field_18264:Lnet/minecraft/class_2246;
      named field_18264 Lnet/minecraft/block/CropBlock;field_18264:Lnet/minecraft/state/property/IntProperty;
    • field_18263

      private static final VoxelShape[] field_18263
      Mappings:
      Namespace Name Mixin selector
      official a Lbdv;a:[Lcew;
      intermediary field_18263 Lnet/minecraft/class_122;field_18263:[Lnet/minecraft/class_4100;
      named field_18263 Lnet/minecraft/block/CropBlock;field_18263:[Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • CropBlock

      protected CropBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_16634

      protected boolean method_16634(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Overrides:
      method_16634 in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lbda;b(Lblc;Laxk;Lel;)Z
      intermediary method_16634 Lnet/minecraft/class_1754;method_16634(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_16634 Lnet/minecraft/block/PlantBlock;method_16634(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_11594

      public IntProperty method_11594()
      Mappings:
      Namespace Name Mixin selector
      official d Lbdv;d()Lbmj;
      intermediary method_11594 Lnet/minecraft/class_122;method_11594()Lnet/minecraft/class_2246;
      named method_11594 Lnet/minecraft/block/CropBlock;method_11594()Lnet/minecraft/state/property/IntProperty;
    • method_11596

      public int method_11596()
      Mappings:
      Namespace Name Mixin selector
      official e Lbdv;e()I
      intermediary method_11596 Lnet/minecraft/class_122;method_11596()I
      named method_11596 Lnet/minecraft/block/CropBlock;method_11596()I
    • method_11598

      protected int method_11598(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official k Lbdv;k(Lblc;)I
      intermediary method_11598 Lnet/minecraft/class_122;method_11598(Lnet/minecraft/class_2232;)I
      named method_11598 Lnet/minecraft/block/CropBlock;method_11598(Lnet/minecraft/block/BlockState;)I
    • method_11595

      public BlockState method_11595(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbdv;b(I)Lblc;
      intermediary method_11595 Lnet/minecraft/class_122;method_11595(I)Lnet/minecraft/class_2232;
      named method_11595 Lnet/minecraft/block/CropBlock;method_11595(I)Lnet/minecraft/block/BlockState;
    • method_11599

      public boolean method_11599(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official w Lbdv;w(Lblc;)Z
      intermediary method_11599 Lnet/minecraft/class_122;method_11599(Lnet/minecraft/class_2232;)Z
      named method_11599 Lnet/minecraft/block/CropBlock;method_11599(Lnet/minecraft/block/BlockState;)Z
    • method_8661

      public void method_8661(BlockState blockState, World world, BlockPos blockPos, Random random)
      Overrides:
      method_8661 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)V
      named method_8661 Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • method_11597

      public void method_11597(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdv;a(Laxy;Lel;Lblc;)V
      intermediary method_11597 Lnet/minecraft/class_122;method_11597(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_11597 Lnet/minecraft/block/CropBlock;method_11597(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • method_11593

      protected int method_11593(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdv;a(Laxy;)I
      intermediary method_11593 Lnet/minecraft/class_122;method_11593(Lnet/minecraft/class_1150;)I
      named method_11593 Lnet/minecraft/block/CropBlock;method_11593(Lnet/minecraft/world/World;)I
    • method_8714

      protected static float method_8714(Block block, BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdv;a(Lbcs;Laxk;Lel;)F
      intermediary method_8714 Lnet/minecraft/class_122;method_8714(Lnet/minecraft/class_197;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)F
      named method_8714 Lnet/minecraft/block/CropBlock;method_8714(Lnet/minecraft/block/Block;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • method_16570

      public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos)
      Overrides:
      method_16570 in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Layc;Lel;)Z
      intermediary method_16570 Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Z
      named method_16570 Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_6469

      protected Itemable method_6469()
      Mappings:
      Namespace Name Mixin selector
      official f Lbdv;f()Laxx;
      intermediary method_6469 Lnet/minecraft/class_122;method_6469()Lnet/minecraft/class_3597;
      named method_6469 Lnet/minecraft/block/CropBlock;method_6469()Lnet/minecraft/item/Itemable;
    • method_6468

      protected Itemable method_6468()
      Mappings:
      Namespace Name Mixin selector
      official g Lbdv;g()Laxx;
      intermediary method_6468 Lnet/minecraft/class_122;method_6468()Lnet/minecraft/class_3597;
      named method_6468 Lnet/minecraft/block/CropBlock;method_6468()Lnet/minecraft/item/Itemable;
    • method_410

      public void method_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2)
      Overrides:
      method_410 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;FI)V
      intermediary method_410 Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)V
      named method_410 Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
    • method_16568

      public Itemable method_16568(BlockState blockState, World world, BlockPos blockPos, int int2)
      Overrides:
      method_16568 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;I)Laxx;
      intermediary method_16568 Lnet/minecraft/class_197;method_16568(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Lnet/minecraft/class_3597;
      named method_16568 Lnet/minecraft/block/Block;method_16568(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/item/Itemable;
    • method_8640

      public ItemStack method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState)
      Overrides:
      method_8640 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lel;Lblc;)Late;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • method_6460

      public boolean method_6460(BlockView blockView, BlockPos blockPos, BlockState blockState, boolean bool)
      Specified by:
      method_6460 in interface Growable
      Mappings:
      Namespace Name Mixin selector
      official a Lbcv;a(Laxk;Lel;Lblc;Z)Z
      intermediary method_6460 Lnet/minecraft/class_1753;method_6460(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Z
      named method_6460 Lnet/minecraft/block/Growable;method_6460(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
    • canBeFertilized

      public boolean canBeFertilized(World world, Random random, BlockPos pos, BlockState state)
      Specified by:
      canBeFertilized in interface Growable
      Mappings:
      Namespace Name Mixin selector
      official a Lbcv;a(Laxy;Ljava/util/Random;Lel;Lblc;)Z
      intermediary method_6461 Lnet/minecraft/class_1753;method_6461(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Z
      named canBeFertilized Lnet/minecraft/block/Growable;canBeFertilized(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • grow

      public void grow(World world, Random random, BlockPos pos, BlockState state)
      Specified by:
      grow in interface Growable
      Mappings:
      Namespace Name Mixin selector
      official b Lbcv;b(Laxy;Ljava/util/Random;Lel;Lblc;)V
      intermediary method_6462 Lnet/minecraft/class_1753;method_6462(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named grow Lnet/minecraft/block/Growable;grow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V