Class SeaPickleBlock

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

public class SeaPickleBlock extends PlantBlock implements Fertilizable, Waterloggable
Mappings:
Namespace Name
official ciz
intermediary net/minecraft/class_2472
named net/minecraft/block/SeaPickleBlock
  • Field Details

    • MAX_PICKLES

      public static final int MAX_PICKLES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lciz;a:I
      intermediary field_31241 Lnet/minecraft/class_2472;field_31241:I
      named MAX_PICKLES Lnet/minecraft/block/SeaPickleBlock;MAX_PICKLES:I
    • PICKLES

      public static final IntProperty PICKLES
      Mappings:
      Namespace Name Mixin selector
      official b Lciz;b:Lcpd;
      intermediary field_11472 Lnet/minecraft/class_2472;field_11472:Lnet/minecraft/class_2758;
      named PICKLES Lnet/minecraft/block/SeaPickleBlock;PICKLES:Lnet/minecraft/state/property/IntProperty;
    • WATERLOGGED

      public static final BooleanProperty WATERLOGGED
      Mappings:
      Namespace Name Mixin selector
      official c Lciz;c:Lcou;
      intermediary field_11475 Lnet/minecraft/class_2472;field_11475:Lnet/minecraft/class_2746;
      named WATERLOGGED Lnet/minecraft/block/SeaPickleBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
    • ONE_PICKLE_SHAPE

      protected static final VoxelShape ONE_PICKLE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Lciz;d:Ldpf;
      intermediary field_11473 Lnet/minecraft/class_2472;field_11473:Lnet/minecraft/class_265;
      named ONE_PICKLE_SHAPE Lnet/minecraft/block/SeaPickleBlock;ONE_PICKLE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • TWO_PICKLES_SHAPE

      protected static final VoxelShape TWO_PICKLES_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Lciz;e:Ldpf;
      intermediary field_11470 Lnet/minecraft/class_2472;field_11470:Lnet/minecraft/class_265;
      named TWO_PICKLES_SHAPE Lnet/minecraft/block/SeaPickleBlock;TWO_PICKLES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • THREE_PICKLES_SHAPE

      protected static final VoxelShape THREE_PICKLES_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official f Lciz;f:Ldpf;
      intermediary field_11471 Lnet/minecraft/class_2472;field_11471:Lnet/minecraft/class_265;
      named THREE_PICKLES_SHAPE Lnet/minecraft/block/SeaPickleBlock;THREE_PICKLES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FOUR_PICKLES_SHAPE

      protected static final VoxelShape FOUR_PICKLES_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Lciz;g:Ldpf;
      intermediary field_11474 Lnet/minecraft/class_2472;field_11474:Lnet/minecraft/class_265;
      named FOUR_PICKLES_SHAPE Lnet/minecraft/block/SeaPickleBlock;FOUR_PICKLES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
  • Constructor Details

    • SeaPickleBlock

      protected SeaPickleBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcob;<init>(Lcob$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

    • getPlacementState

      @Nullable public @Nullable BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lccy;a(Lbwe;)Lcoc;
      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;
    • isDry

      public static boolean isDry(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official h Lciz;h(Lcoc;)Z
      intermediary method_10506 Lnet/minecraft/class_2472;method_10506(Lnet/minecraft/class_2680;)Z
      named isDry Lnet/minecraft/block/SeaPickleBlock;isDry(Lnet/minecraft/block/BlockState;)Z
    • canPlantOnTop

      protected boolean canPlantOnTop(BlockState floor, BlockView world, BlockPos pos)
      Overrides:
      canPlantOnTop in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lcdf;d(Lcoc;Lbzj;Lgh;)Z
      intermediary method_9695 Lnet/minecraft/class_2261;method_9695(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named canPlantOnTop Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • canPlaceAt

      public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
      Overrides:
      canPlaceAt in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lcag;Lgh;)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 PlantBlock
      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 Lcob;a(Lcoc;Lgm;Lcoc;Lcae;Lgh;Lgh;)Lcoc;
      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;
    • canReplace

      public boolean canReplace(BlockState state, ItemPlacementContext context)
      Overrides:
      canReplace in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbwe;)Z
      intermediary method_9616 Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z
      named canReplace Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)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 Lcob;a(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
      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;
    • getFluidState

      public FluidState getFluidState(BlockState state)
      Overrides:
      getFluidState in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c_ Lcob;c_(Lcoc;)Ldhv;
      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;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lccy;a(Lcod$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
    • 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 Lcda;a(Lbzj;Lgh;Lcoc;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 Lcda;a(Lcad;Ljava/util/Random;Lgh;Lcoc;)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 Lcda;a(Ladi;Ljava/util/Random;Lgh;Lcoc;)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
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class PlantBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbzj;Lgh;Ldim;)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