Class BambooBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible

public class BambooBlock extends Block implements Fertilizable
Mappings:
Namespace Name
official cia
intermediary net/minecraft/class_2211
named net/minecraft/block/BambooBlock
  • Field Details

    • field_30997

      protected static final float field_30997
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcia;a:F
      intermediary field_30997 Lnet/minecraft/class_2211;field_30997:F
      named field_30997 Lnet/minecraft/block/BambooBlock;field_30997:F
    • field_30998

      protected static final float field_30998
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcia;b:F
      intermediary field_30998 Lnet/minecraft/class_2211;field_30998:F
      named field_30998 Lnet/minecraft/block/BambooBlock;field_30998:F
    • field_30999

      protected static final float field_30999
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcia;c:F
      intermediary field_30999 Lnet/minecraft/class_2211;field_30999:F
      named field_30999 Lnet/minecraft/block/BambooBlock;field_30999:F
    • SMALL_LEAVES_SHAPE

      protected static final VoxelShape SMALL_LEAVES_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Lcia;d:Ldwm;
      intermediary field_9912 Lnet/minecraft/class_2211;field_9912:Lnet/minecraft/class_265;
      named SMALL_LEAVES_SHAPE Lnet/minecraft/block/BambooBlock;SMALL_LEAVES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • LARGE_LEAVES_SHAPE

      protected static final VoxelShape LARGE_LEAVES_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Lcia;e:Ldwm;
      intermediary field_9915 Lnet/minecraft/class_2211;field_9915:Lnet/minecraft/class_265;
      named LARGE_LEAVES_SHAPE Lnet/minecraft/block/BambooBlock;LARGE_LEAVES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • NO_LEAVES_SHAPE

      protected static final VoxelShape NO_LEAVES_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official f Lcia;f:Ldwm;
      intermediary field_9913 Lnet/minecraft/class_2211;field_9913:Lnet/minecraft/class_265;
      named NO_LEAVES_SHAPE Lnet/minecraft/block/BambooBlock;NO_LEAVES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • AGE

      public static final IntProperty AGE
      Mappings:
      Namespace Name Mixin selector
      official g Lcia;g:Lcvr;
      intermediary field_9914 Lnet/minecraft/class_2211;field_9914:Lnet/minecraft/class_2758;
      named AGE Lnet/minecraft/block/BambooBlock;AGE:Lnet/minecraft/state/property/IntProperty;
    • LEAVES

      public static final EnumProperty<BambooLeaves> LEAVES
      Mappings:
      Namespace Name Mixin selector
      official h Lcia;h:Lcvp;
      intermediary field_9917 Lnet/minecraft/class_2211;field_9917:Lnet/minecraft/class_2754;
      named LEAVES Lnet/minecraft/block/BambooBlock;LEAVES:Lnet/minecraft/state/property/EnumProperty;
    • STAGE

      public static final IntProperty STAGE
      Mappings:
      Namespace Name Mixin selector
      official i Lcia;i:Lcvr;
      intermediary field_9916 Lnet/minecraft/class_2211;field_9916:Lnet/minecraft/class_2758;
      named STAGE Lnet/minecraft/block/BambooBlock;STAGE:Lnet/minecraft/state/property/IntProperty;
    • field_31000

      public static final int field_31000
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lcia;j:I
      intermediary field_31000 Lnet/minecraft/class_2211;field_31000:I
      named field_31000 Lnet/minecraft/block/BambooBlock;field_31000:I
    • field_31001

      public static final int field_31001
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lcia;k:I
      intermediary field_31001 Lnet/minecraft/class_2211;field_31001:I
      named field_31001 Lnet/minecraft/block/BambooBlock;field_31001:I
    • field_31002

      public static final int field_31002
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lcia;l:I
      intermediary field_31002 Lnet/minecraft/class_2211;field_31002:I
      named field_31002 Lnet/minecraft/block/BambooBlock;field_31002:I
    • field_31003

      public static final int field_31003
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lcia;m:I
      intermediary field_31003 Lnet/minecraft/class_2211;field_31003:I
      named field_31003 Lnet/minecraft/block/BambooBlock;field_31003:I
    • field_31004

      public static final int field_31004
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lcia;n:I
      intermediary field_31004 Lnet/minecraft/class_2211;field_31004:I
      named field_31004 Lnet/minecraft/block/BambooBlock;field_31004:I
  • Constructor Details

    • BambooBlock

      public BambooBlock(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

    • 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
    • isTranslucent

      public boolean isTranslucent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTranslucent in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lciw;c(Lcur;Lcfg;Lgt;)Z
      intermediary method_9579 Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isTranslucent Lnet/minecraft/block/Block;isTranslucent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • 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;Ldvy;)Ldwm;
      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;
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcfg;Lgt;Ldpp;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
    • 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;Ldvy;)Ldwm;
      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;
    • isShapeFullCube

      public boolean isShapeFullCube(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isShapeFullCube in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcuq;a_(Lcur;Lcfg;Lgt;)Z
      intermediary method_37403 Lnet/minecraft/class_4970;method_37403(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isShapeFullCube Lnet/minecraft/block/AbstractBlock;isShapeFullCube(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getPlacementState

      @Nullable public @Nullable 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;
    • 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
    • hasRandomTicks

      public boolean hasRandomTicks(BlockState state)
      Overrides:
      hasRandomTicks in class Block
      Mappings:
      Namespace Name Mixin selector
      official e_ Lciw;e_(Lcur;)Z
      intermediary method_9542 Lnet/minecraft/class_2248;method_9542(Lnet/minecraft/class_2680;)Z
      named hasRandomTicks Lnet/minecraft/block/Block;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z
    • randomTick

      public void randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
      Overrides:
      randomTick in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lcuq;b(Lcur;Lafo;Lgt;Lalu;)V
      intermediary method_9514 Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      named randomTick Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
    • 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
    • calcBlockBreakingDelta

      public float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
      Overrides:
      calcBlockBreakingDelta in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lbtf;Lcfg;Lgt;)F
      intermediary method_9594 Lnet/minecraft/class_4970;method_9594(Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named calcBlockBreakingDelta Lnet/minecraft/block/AbstractBlock;calcBlockBreakingDelta(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • updateLeaves

      protected void updateLeaves(BlockState state, World world, BlockPos pos, Random random, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lcia;a(Lcur;Lcga;Lgt;Lalu;I)V
      intermediary method_9385 Lnet/minecraft/class_2211;method_9385(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;I)V
      named updateLeaves Lnet/minecraft/block/BambooBlock;updateLeaves(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;I)V
    • countBambooAbove

      protected int countBambooAbove(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcia;a(Lcfg;Lgt;)I
      intermediary method_9387 Lnet/minecraft/class_2211;method_9387(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named countBambooAbove Lnet/minecraft/block/BambooBlock;countBambooAbove(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
    • countBambooBelow

      protected int countBambooBelow(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcia;b(Lcfg;Lgt;)I
      intermediary method_9386 Lnet/minecraft/class_2211;method_9386(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named countBambooBelow Lnet/minecraft/block/BambooBlock;countBambooBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I