Class AbstractCauldronBlock

All Implemented Interfaces:
ItemConvertible
Direct Known Subclasses:
CauldronBlock, LavaCauldronBlock, LeveledCauldronBlock

public abstract class AbstractCauldronBlock extends Block
Mappings:
Namespace Name
official ccj
intermediary net/minecraft/class_2275
named net/minecraft/block/AbstractCauldronBlock
  • Field Details

    • field_30989

      private static final int field_30989
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lccj;c:I
      intermediary field_30989 Lnet/minecraft/class_2275;field_30989:I
      named field_30989 Lnet/minecraft/block/AbstractCauldronBlock;field_30989:I
    • field_30990

      private static final int field_30990
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lccj;d:I
      intermediary field_30990 Lnet/minecraft/class_2275;field_30990:I
      named field_30990 Lnet/minecraft/block/AbstractCauldronBlock;field_30990:I
    • field_30991

      private static final int field_30991
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lccj;e:I
      intermediary field_30991 Lnet/minecraft/class_2275;field_30991:I
      named field_30991 Lnet/minecraft/block/AbstractCauldronBlock;field_30991:I
    • field_30992

      private static final int field_30992
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lccj;f:I
      intermediary field_30992 Lnet/minecraft/class_2275;field_30992:I
      named field_30992 Lnet/minecraft/block/AbstractCauldronBlock;field_30992:I
    • field_30988

      protected static final int field_30988
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lccj;a:I
      intermediary field_30988 Lnet/minecraft/class_2275;field_30988:I
      named field_30988 Lnet/minecraft/block/AbstractCauldronBlock;field_30988:I
    • RAYCAST_SHAPE

      private static final VoxelShape RAYCAST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Lccj;g:Ldqh;
      intermediary field_10747 Lnet/minecraft/class_2275;field_10747:Lnet/minecraft/class_265;
      named RAYCAST_SHAPE Lnet/minecraft/block/AbstractCauldronBlock;RAYCAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • OUTLINE_SHAPE

      protected static final VoxelShape OUTLINE_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official b Lccj;b:Ldqh;
      intermediary field_10746 Lnet/minecraft/class_2275;field_10746:Lnet/minecraft/class_265;
      named OUTLINE_SHAPE Lnet/minecraft/block/AbstractCauldronBlock;OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • behaviorMap

      private final Map<Item,CauldronBehavior> behaviorMap
      Mappings:
      Namespace Name Mixin selector
      official h Lccj;h:Ljava/util/Map;
      intermediary field_27084 Lnet/minecraft/class_2275;field_27084:Ljava/util/Map;
      named behaviorMap Lnet/minecraft/block/AbstractCauldronBlock;behaviorMap:Ljava/util/Map;
  • Constructor Details

    • AbstractCauldronBlock

      public AbstractCauldronBlock(AbstractBlock.Settings settings, Map<Item,CauldronBehavior> behaviorMap)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lccj;<init>(Lcou$c;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_2275;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/Map;)V
      named <init> Lnet/minecraft/block/AbstractCauldronBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/Map;)V
  • Method Details

    • getFluidHeight

      protected double getFluidHeight(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lccj;a(Lcov;)D
      intermediary method_31615 Lnet/minecraft/class_2275;method_31615(Lnet/minecraft/class_2680;)D
      named getFluidHeight Lnet/minecraft/block/AbstractCauldronBlock;getFluidHeight(Lnet/minecraft/block/BlockState;)D
    • isEntityTouchingFluid

      protected boolean isEntityTouchingFluid(BlockState state, BlockPos pos, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lccj;a(Lcov;Lgj;Laxk;)Z
      intermediary method_31616 Lnet/minecraft/class_2275;method_31616(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Z
      named isEntityTouchingFluid Lnet/minecraft/block/AbstractCauldronBlock;isEntityTouchingFluid(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
    • onUse

      public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
      Called when this block is used by a player. This, by default, is bound to using the right mouse button.

      This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using world.isClient().

      If the action result is successful on a logical client, then the action will be sent to the logical server for processing.

      Overrides:
      onUse in class AbstractBlock
      Returns:
      an action result that specifies if using the block was successful.
      Mappings:
      Namespace Name Mixin selector
      official a Lcou;a(Lcov;Lcav;Lgj;Lboj;Lawg;Ldpk;)Lawh;
      intermediary method_9534 Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named onUse Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcou;a(Lcov;Lcab;Lgj;Ldpt;)Ldqh;
      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;
    • getRaycastShape

      public VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getRaycastShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcou;a(Lcov;Lcab;Lgj;)Ldqh;
      intermediary method_9584 Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getRaycastShape Lnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • hasComparatorOutput

      public boolean hasComparatorOutput(BlockState state)
      Overrides:
      hasComparatorOutput in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official d_ Lcou;d_(Lcov;)Z
      intermediary method_9498 Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Z
      named hasComparatorOutput Lnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcou;a(Lcov;Lcab;Lgj;Ldjo;)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
    • isFull

      public abstract boolean isFull(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official c Lccj;c(Lcov;)Z
      intermediary method_32766 Lnet/minecraft/class_2275;method_32766(Lnet/minecraft/class_2680;)Z
      named isFull Lnet/minecraft/block/AbstractCauldronBlock;isFull(Lnet/minecraft/block/BlockState;)Z
    • scheduledTick

      public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
      Overrides:
      scheduledTick in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcou;a(Lcov;Ladw;Lgj;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
    • canBeFilledByDripstone

      protected boolean canBeFilledByDripstone(Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official a Lccj;a(Ldiw;)Z
      intermediary method_32765 Lnet/minecraft/class_2275;method_32765(Lnet/minecraft/class_3611;)Z
      named canBeFilledByDripstone Lnet/minecraft/block/AbstractCauldronBlock;canBeFilledByDripstone(Lnet/minecraft/fluid/Fluid;)Z
    • fillFromDripstone

      protected void fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official a Lccj;a(Lcov;Lcav;Lgj;Ldiw;)V
      intermediary method_32764 Lnet/minecraft/class_2275;method_32764(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)V
      named fillFromDripstone Lnet/minecraft/block/AbstractCauldronBlock;fillFromDripstone(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)V