Class MushroomBlock

All Implemented Interfaces:
Growable, Itemable

public class MushroomBlock extends PlantBlock implements Growable
Mappings:
Namespace Name
official bga
intermediary net/minecraft/class_160
named net/minecraft/block/MushroomBlock
  • Field Details

    • field_18408

      protected static final VoxelShape field_18408
      Mappings:
      Namespace Name Mixin selector
      official a Lbga;a:Lcew;
      intermediary field_18408 Lnet/minecraft/class_160;field_18408:Lnet/minecraft/class_4100;
      named field_18408 Lnet/minecraft/block/MushroomBlock;field_18408:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • MushroomBlock

      public MushroomBlock(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_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_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_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_16703

      public boolean method_16703(IWorld iWorld, BlockPos blockPos, BlockState blockState, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbga;a(Laxz;Lel;Lblc;Ljava/util/Random;)Z
      intermediary method_16703 Lnet/minecraft/class_160;method_16703(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)Z
      named method_16703 Lnet/minecraft/block/MushroomBlock;method_16703(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)Z
    • 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
    • method_16592

      public boolean method_16592(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Overrides:
      method_16592 in class Block
      Mappings:
      Namespace Name Mixin selector
      official e Lbcs;e(Lblc;Laxk;Lel;)Z
      intermediary method_16592 Lnet/minecraft/class_197;method_16592(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_16592 Lnet/minecraft/block/Block;method_16592(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z