Class BigDripleafBlock

All Implemented Interfaces:
Fertilizable, FluidDrainable, FluidFillable, Waterloggable, ItemConvertible

public class BigDripleafBlock
extends HorizontalFacingBlock
implements Fertilizable, Waterloggable
Mappings:
Namespace Name
official bwr
intermediary net/minecraft/class_5801
named net/minecraft/block/BigDripleafBlock
  • Field Details

    • WATERLOGGED

      private static final BooleanProperty WATERLOGGED
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a:Lcik;
      intermediary field_28660 Lnet/minecraft/class_5801;field_28660:Lnet/minecraft/class_2746;
      named WATERLOGGED Lnet/minecraft/block/BigDripleafBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
    • TILT

      private static final EnumProperty<Tilt> TILT
      Mappings:
      Namespace Name Mixin selector
      official b Lbwr;b:Lcir;
      intermediary field_28661 Lnet/minecraft/class_5801;field_28661:Lnet/minecraft/class_2754;
      named TILT Lnet/minecraft/block/BigDripleafBlock;TILT:Lnet/minecraft/state/property/EnumProperty;
    • NEXT_TILT_DELAYS

      private static final Object2IntMap<Tilt> NEXT_TILT_DELAYS
      Mappings:
      Namespace Name Mixin selector
      official c Lbwr;c:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_28662 Lnet/minecraft/class_5801;field_28662:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named NEXT_TILT_DELAYS Lnet/minecraft/block/BigDripleafBlock;NEXT_TILT_DELAYS:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • UNTILTED_SHAPE

      private static final Box UNTILTED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Lbwr;d:Ldip;
      intermediary field_28663 Lnet/minecraft/class_5801;field_28663:Lnet/minecraft/class_238;
      named UNTILTED_SHAPE Lnet/minecraft/block/BigDripleafBlock;UNTILTED_SHAPE:Lnet/minecraft/util/math/Box;
    • SHAPES_FOR_TILT

      private static final Map<Tilt,​VoxelShape> SHAPES_FOR_TILT
      Mappings:
      Namespace Name Mixin selector
      official e Lbwr;e:Ljava/util/Map;
      intermediary field_28664 Lnet/minecraft/class_5801;field_28664:Ljava/util/Map;
      named SHAPES_FOR_TILT Lnet/minecraft/block/BigDripleafBlock;SHAPES_FOR_TILT:Ljava/util/Map;
    • SHAPES_FOR_DIRECTION

      private static final Map<Direction,​VoxelShape> SHAPES_FOR_DIRECTION
      Mappings:
      Namespace Name Mixin selector
      official f Lbwr;f:Ljava/util/Map;
      intermediary field_28665 Lnet/minecraft/class_5801;field_28665:Ljava/util/Map;
      named SHAPES_FOR_DIRECTION Lnet/minecraft/block/BigDripleafBlock;SHAPES_FOR_DIRECTION:Ljava/util/Map;
    • shapes

      private final Map<BlockState,​VoxelShape> shapes
      Mappings:
      Namespace Name Mixin selector
      official g Lbwr;g:Ljava/util/Map;
      intermediary field_28666 Lnet/minecraft/class_5801;field_28666:Ljava/util/Map;
      named shapes Lnet/minecraft/block/BigDripleafBlock;shapes:Ljava/util/Map;
  • Constructor Details

    • BigDripleafBlock

      protected BigDripleafBlock​(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lchs;<init>(Lchs$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getShapeForState

      protected static VoxelShape getShapeForState​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official g Lbwr;g(Lcht;)Ldjn;
      intermediary method_33611 Lnet/minecraft/class_5801;method_33611(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
      named getShapeForState Lnet/minecraft/block/BigDripleafBlock;getShapeForState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
    • getShapeForStateDirection

      private static VoxelShape getShapeForStateDirection​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official h Lbwr;h(Lcht;)Ldjn;
      intermediary method_33612 Lnet/minecraft/class_5801;method_33612(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
      named getShapeForStateDirection Lnet/minecraft/block/BigDripleafBlock;getShapeForStateDirection(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
    • getShapeForStateTilt

      private static VoxelShape getShapeForStateTilt​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official m Lbwr;m(Lcht;)Ldjn;
      intermediary method_33613 Lnet/minecraft/class_5801;method_33613(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
      named getShapeForStateTilt Lnet/minecraft/block/BigDripleafBlock;getShapeForStateTilt(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
    • grow

      protected static void grow​(World world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lbtv;Ljava/util/Random;Lfx;)V
      intermediary method_33603 Lnet/minecraft/class_5801;method_33603(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;)V
      named grow Lnet/minecraft/block/BigDripleafBlock;grow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
    • onProjectileHit

      public void onProjectileHit​(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
      Overrides:
      onProjectileHit in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lbtv;Lcht;Ldiq;Lbib;)V
      intermediary method_19286 Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)V
      named onProjectileHit Lnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)V
    • getFluidState

      public FluidState getFluidState​(BlockState state)
      Overrides:
      getFluidState in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lchs;d(Lcht;)Ldal;
      intermediary method_9545 Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
    • canPlaceAt

      public boolean canPlaceAt​(BlockState state, WorldView world, BlockPos pos)
      Overrides:
      canPlaceAt in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lbty;Lfx;)Z
      intermediary method_9558 Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canPlaceAt Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
    • getStateForNeighborUpdate

      public BlockState getStateForNeighborUpdate​(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lgc;Lcht;Lbtw;Lfx;Lfx;)Lcht;
      intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • isFertilizable

      public boolean isFertilizable​(BlockView world, BlockPos pos, BlockState state, boolean isClient)
      Specified by:
      isFertilizable in interface Fertilizable
      Mappings:
      Namespace Name Mixin selector
      official a Lbww;a(Lbsz;Lfx;Lcht;Z)Z
      intermediary method_9651 Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Z
      named isFertilizable Lnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
    • canGrow

      public boolean canGrow​(World world, Random random, BlockPos pos, BlockState state)
      Specified by:
      canGrow in interface Fertilizable
      Mappings:
      Namespace Name Mixin selector
      official a Lbww;a(Lbtv;Ljava/util/Random;Lfx;Lcht;)Z
      intermediary method_9650 Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named canGrow Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • grow

      public void grow​(ServerWorld world, Random random, BlockPos pos, BlockState state)
      Specified by:
      grow in interface Fertilizable
      Mappings:
      Namespace Name Mixin selector
      official a Lbww;a(Laav;Ljava/util/Random;Lfx;Lcht;)V
      intermediary method_9652 Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named grow Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • onEntityCollision

      public void onEntityCollision​(BlockState state, World world, BlockPos pos, Entity entity)
      Overrides:
      onEntityCollision in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lbtv;Lfx;Laqv;)V
      intermediary method_9548 Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V
      named onEntityCollision Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • scheduledTick

      public void scheduledTick​(BlockState state, ServerWorld world, BlockPos pos, Random random)
      Overrides:
      scheduledTick in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a_ Lchs;a_(Lcht;Laav;Lfx;Ljava/util/Random;)V
      intermediary method_9588 Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • playTiltSound

      private void playTiltSound​(World world, BlockPos pos, SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lbtv;Lfx;Laef;)V
      intermediary method_33601 Lnet/minecraft/class_5801;method_33601(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;)V
      named playTiltSound Lnet/minecraft/block/BigDripleafBlock;playTiltSound(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;)V
    • shouldTilt

      private static boolean shouldTilt​(World world, BlockPos pos, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lbtv;Lfx;Z)Z
      intermediary method_33602 Lnet/minecraft/class_5801;method_33602(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)Z
      named shouldTilt Lnet/minecraft/block/BigDripleafBlock;shouldTilt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Z
    • shouldEntityTilt

      private static boolean shouldEntityTilt​(BlockPos pos, Entity entity, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lfx;Laqv;Z)Z
      intermediary method_33607 Lnet/minecraft/class_5801;method_33607(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;Z)Z
      named shouldEntityTilt Lnet/minecraft/block/BigDripleafBlock;shouldEntityTilt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;Z)Z
    • isEntityAbove

      private static boolean isEntityAbove​(BlockPos pos, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lfx;Laqv;)Z
      intermediary method_33606 Lnet/minecraft/class_5801;method_33606(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Z
      named isEntityAbove Lnet/minecraft/block/BigDripleafBlock;isEntityAbove(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
    • changeTilt

      private void changeTilt​(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lcht;Lbtv;Lfx;Lcjd;Laef;)V
      intermediary method_33605 Lnet/minecraft/class_5801;method_33605(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5816;Lnet/minecraft/class_3414;)V
      named changeTilt Lnet/minecraft/block/BigDripleafBlock;changeTilt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/Tilt;Lnet/minecraft/sound/SoundEvent;)V
    • resetTilt

      private void resetTilt​(BlockState state, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lbwr;d(Lcht;Lbtv;Lfx;)V
      intermediary method_33610 Lnet/minecraft/class_5801;method_33610(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named resetTilt Lnet/minecraft/block/BigDripleafBlock;resetTilt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • changeTilt

      private void changeTilt​(BlockState state, World world, BlockPos pos, Tilt tilt)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwr;a(Lcht;Lbtv;Lfx;Lcjd;)V
      intermediary method_33604 Lnet/minecraft/class_5801;method_33604(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5816;)V
      named changeTilt Lnet/minecraft/block/BigDripleafBlock;changeTilt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/Tilt;)V
    • getCollisionShape

      public VoxelShape getCollisionShape​(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getCollisionShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c Lchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      intermediary method_9549 Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCollisionShape Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getOutlineShape

      public VoxelShape getOutlineShape​(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getPlacementState

      public BlockState getPlacementState​(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbwu;a(Lbpv;)Lcht;
      intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • appendProperties

      protected void appendProperties​(StateManager.Builder<Block,​BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbwu;a(Lchu$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V