Class LeveledCauldronBlock

All Implemented Interfaces:
ItemConvertible

public class LeveledCauldronBlock
extends AbstractCauldronBlock
Mappings:
Namespace Name
official caq
intermediary net/minecraft/class_5556
named net/minecraft/block/LeveledCauldronBlock
  • Field Details

    • LEVEL

      public static final IntProperty LEVEL
      Mappings:
      Namespace Name Mixin selector
      official b Lcaq;b:Lcit;
      intermediary field_27206 Lnet/minecraft/class_5556;field_27206:Lnet/minecraft/class_2758;
      named LEVEL Lnet/minecraft/block/LeveledCauldronBlock;LEVEL:Lnet/minecraft/state/property/IntProperty;
    • RAIN_PREDICATE

      public static final Predicate<Biome.Precipitation> RAIN_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official c Lcaq;c:Ljava/util/function/Predicate;
      intermediary field_27880 Lnet/minecraft/class_5556;field_27880:Ljava/util/function/Predicate;
      named RAIN_PREDICATE Lnet/minecraft/block/LeveledCauldronBlock;RAIN_PREDICATE:Ljava/util/function/Predicate;
    • SNOW_PREDICATE

      public static final Predicate<Biome.Precipitation> SNOW_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official d Lcaq;d:Ljava/util/function/Predicate;
      intermediary field_27881 Lnet/minecraft/class_5556;field_27881:Ljava/util/function/Predicate;
      named SNOW_PREDICATE Lnet/minecraft/block/LeveledCauldronBlock;SNOW_PREDICATE:Ljava/util/function/Predicate;
    • precipitationPredicate

      private final Predicate<Biome.Precipitation> precipitationPredicate
      Mappings:
      Namespace Name Mixin selector
      official e Lcaq;e:Ljava/util/function/Predicate;
      intermediary field_27882 Lnet/minecraft/class_5556;field_27882:Ljava/util/function/Predicate;
      named precipitationPredicate Lnet/minecraft/block/LeveledCauldronBlock;precipitationPredicate:Ljava/util/function/Predicate;
  • Constructor Details

    • LeveledCauldronBlock

      public LeveledCauldronBlock​(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item,​CauldronBehavior> behaviorMap)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcaq;<init>(Lchs$c;Ljava/util/function/Predicate;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_5556;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/function/Predicate;Ljava/util/Map;)V
      named <init> Lnet/minecraft/block/LeveledCauldronBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/function/Predicate;Ljava/util/Map;)V
  • Method Details

    • isFull

      public boolean isFull​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official b_ Lcaq;b_(Lcht;)Z
      intermediary method_32766 Lnet/minecraft/class_5556;method_32766(Lnet/minecraft/class_2680;)Z
      named isFull Lnet/minecraft/block/LeveledCauldronBlock;isFull(Lnet/minecraft/block/BlockState;)Z
    • canBeFilledByDripstone

      protected boolean canBeFilledByDripstone​(Fluid fluid)
      Overrides:
      canBeFilledByDripstone in class AbstractCauldronBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a(Ldak;)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
    • getFluidHeight

      protected double getFluidHeight​(BlockState state)
      Overrides:
      getFluidHeight in class AbstractCauldronBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a(Lcht;)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
    • 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
    • decrementFluidLevel

      public static void decrementFluidLevel​(BlockState state, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lcaq;d(Lcht;Lbtv;Lfx;)V
      intermediary method_31650 Lnet/minecraft/class_5556;method_31650(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named decrementFluidLevel Lnet/minecraft/block/LeveledCauldronBlock;decrementFluidLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • precipitationTick

      public void precipitationTick​(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)
      Overrides:
      precipitationTick in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbwu;a(Lcht;Lbtv;Lfx;Lbuu$e;)V
      intermediary method_9504 Lnet/minecraft/class_2248;method_9504(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1959$class_1963;)V
      named precipitationTick Lnet/minecraft/block/Block;precipitationTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome$Precipitation;)V
    • getComparatorOutput

      public int getComparatorOutput​(BlockState state, World world, BlockPos pos)
      Overrides:
      getComparatorOutput in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lbtv;Lfx;)I
      intermediary method_9572 Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
      named getComparatorOutput Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • 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
    • fillFromDripstone

      protected void fillFromDripstone​(BlockState state, World world, BlockPos pos, Fluid fluid)
      Overrides:
      fillFromDripstone in class AbstractCauldronBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a(Lcht;Lbtv;Lfx;Ldak;)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