Class BigDripleafBlock

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

public class BigDripleafBlock extends HorizontalFacingBlock implements Fertilizable, Waterloggable
Mappings:
Namespace Name
official cit
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 Lcit;a:Lcvi;
      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 Lcit;b:Lcvp;
      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;
    • field_31015

      private static final int field_31015
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcit;c:I
      intermediary field_31015 Lnet/minecraft/class_5801;field_31015:I
      named field_31015 Lnet/minecraft/block/BigDripleafBlock;field_31015:I
    • NEXT_TILT_DELAYS

      private static final Object2IntMap<Tilt> NEXT_TILT_DELAYS
      Mappings:
      Namespace Name Mixin selector
      official d Lcit;d: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;
    • field_31016

      private static final int field_31016
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lcit;e:I
      intermediary field_31016 Lnet/minecraft/class_5801;field_31016:I
      named field_31016 Lnet/minecraft/block/BigDripleafBlock;field_31016:I
    • field_31017

      private static final int field_31017
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcit;f:I
      intermediary field_31017 Lnet/minecraft/class_5801;field_31017:I
      named field_31017 Lnet/minecraft/block/BigDripleafBlock;field_31017:I
    • field_31018

      private static final int field_31018
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lcit;g:I
      intermediary field_31018 Lnet/minecraft/class_5801;field_31018:I
      named field_31018 Lnet/minecraft/block/BigDripleafBlock;field_31018:I
    • field_31019

      private static final int field_31019
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lcit;h:I
      intermediary field_31019 Lnet/minecraft/class_5801;field_31019:I
      named field_31019 Lnet/minecraft/block/BigDripleafBlock;field_31019:I
    • SHAPES_FOR_TILT

      private static final Map<Tilt,VoxelShape> SHAPES_FOR_TILT
      Mappings:
      Namespace Name Mixin selector
      official i Lcit;i: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;
    • BASE_SHAPE

      private static final VoxelShape BASE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official j Lcit;j:Ldwl;
      intermediary field_31020 Lnet/minecraft/class_5801;field_31020:Lnet/minecraft/class_265;
      named BASE_SHAPE Lnet/minecraft/block/BigDripleafBlock;BASE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SHAPES_FOR_DIRECTION

      private static final Map<Direction,VoxelShape> SHAPES_FOR_DIRECTION
      Mappings:
      Namespace Name Mixin selector
      official k Lcit;k: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 l Lcit;l: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> Lcuq;<init>(Lcuq$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

      private static VoxelShape getShapeForState(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official h Lcit;h(Lcur;)Ldwl;
      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;
    • grow

      public static void grow(WorldAccess world, Random random, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lcgb;Lalu;Lgt;Lgy;)V
      intermediary method_33603 Lnet/minecraft/class_5801;method_33603(Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
      named grow Lnet/minecraft/block/BigDripleafBlock;grow(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
    • canGrowInto

      private static boolean canGrowInto(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official n Lcit;n(Lcur;)Z
      intermediary method_33727 Lnet/minecraft/class_5801;method_33727(Lnet/minecraft/class_2680;)Z
      named canGrowInto Lnet/minecraft/block/BigDripleafBlock;canGrowInto(Lnet/minecraft/block/BlockState;)Z
    • canGrowInto

      protected static boolean canGrowInto(HeightLimitView world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lcgc;Lgt;Lcur;)Z
      intermediary method_33725 Lnet/minecraft/class_5801;method_33725(Lnet/minecraft/class_5539;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named canGrowInto Lnet/minecraft/block/BigDripleafBlock;canGrowInto(Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • placeDripleafAt

      protected static boolean placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lcgb;Lgt;Ldox;Lgy;)Z
      intermediary method_33726 Lnet/minecraft/class_5801;method_33726(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_2350;)Z
      named placeDripleafAt Lnet/minecraft/block/BigDripleafBlock;placeDripleafAt(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/util/math/Direction;)Z
    • onProjectileHit

      public void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
      Overrides:
      onProjectileHit in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcga;Lcur;Ldvo;Lbtx;)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 c_ Lcuq;c_(Lcur;)Ldox;
      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 Lcuq;a(Lcur;Lcgd;Lgt;)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 Lcuq;a(Lcur;Lgy;Lcur;Lcgb;Lgt;Lgt;)Lcur;
      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 Lciy;a(Lcfg;Lgt;Lcur;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 Lciy;a(Lcga;Lalu;Lgt;Lcur;)Z
      intermediary method_9650 Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named canGrow Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/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 Lciy;a(Lafo;Lalu;Lgt;Lcur;)V
      intermediary method_9652 Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named grow Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/random/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 Lcuq;a(Lcur;Lcga;Lgt;Lbaq;)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 Lcuq;a(Lcur;Lafo;Lgt;Lalu;)V
      intermediary method_9588 Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      named scheduledTick Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
    • neighborUpdate

      public void neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify)
      Overrides:
      neighborUpdate in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcga;Lgt;Lciw;Lgt;Z)V
      intermediary method_9612 Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
      named neighborUpdate Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
    • playTiltSound

      private static void playTiltSound(World world, BlockPos pos, SoundEvent soundEvent)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lcga;Lgt;Lajd;)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
    • isEntityAbove

      private static boolean isEntityAbove(BlockPos pos, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lgt;Lbaq;)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 @Nullable SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lcur;Lcga;Lgt;Lcwb;Lajd;)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 static void resetTilt(BlockState state, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lcit;d(Lcur;Lcga;Lgt;)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 static void changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt)
      Mappings:
      Namespace Name Mixin selector
      official a Lcit;a(Lcur;Lcga;Lgt;Lcwb;)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 Lcuq;c(Lcur;Lcfg;Lgt;Ldvx;)Ldwl;
      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 Lcuq;a(Lcur;Lcfg;Lgt;Ldvx;)Ldwl;
      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 Lciw;a(Lcca;)Lcur;
      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 Lciw;a(Lcus$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