Class FlowableFluid.SpreadCache

java.lang.Object
net.minecraft.fluid.FlowableFluid.SpreadCache
Enclosing class:
FlowableFluid

protected class FlowableFluid.SpreadCache extends Object
Mappings:
Namespace Name
named net/minecraft/fluid/FlowableFluid$SpreadCache
intermediary net/minecraft/class_3609$class_9900
official etu$b
  • Field Details

    • world

      private final BlockView world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/fluid/FlowableFluid$SpreadCache;world:Lnet/minecraft/world/BlockView;
      intermediary field_52660 Lnet/minecraft/class_3609$class_9900;field_52660:Lnet/minecraft/class_1922;
      official b Letu$b;b:Ldgm;
    • startPos

      private final BlockPos startPos
      Mappings:
      Namespace Name Mixin selector
      named startPos Lnet/minecraft/fluid/FlowableFluid$SpreadCache;startPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_52661 Lnet/minecraft/class_3609$class_9900;field_52661:Lnet/minecraft/class_2338;
      official c Letu$b;c:Ljh;
    • stateCache

      private final Short2ObjectMap<BlockState> stateCache
      Mappings:
      Namespace Name Mixin selector
      named stateCache Lnet/minecraft/fluid/FlowableFluid$SpreadCache;stateCache:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
      intermediary field_52662 Lnet/minecraft/class_3609$class_9900;field_52662:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
      official d Letu$b;d:Lit/unimi/dsi/fastutil/shorts/Short2ObjectMap;
    • flowDownCache

      private final Short2BooleanMap flowDownCache
      Mappings:
      Namespace Name Mixin selector
      named flowDownCache Lnet/minecraft/fluid/FlowableFluid$SpreadCache;flowDownCache:Lit/unimi/dsi/fastutil/shorts/Short2BooleanMap;
      intermediary field_52663 Lnet/minecraft/class_3609$class_9900;field_52663:Lit/unimi/dsi/fastutil/shorts/Short2BooleanMap;
      official e Letu$b;e:Lit/unimi/dsi/fastutil/shorts/Short2BooleanMap;
  • Constructor Details

    • SpreadCache

      SpreadCache(BlockView world, BlockPos startPos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/fluid/FlowableFluid$SpreadCache;<init>(Lnet/minecraft/fluid/FlowableFluid;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_3609$class_9900;<init>(Lnet/minecraft/class_3609;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)V
      official <init> Letu$b;<init>(Letu;Ldgm;Ljh;)V
  • Method Details

    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/fluid/FlowableFluid$SpreadCache;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      intermediary method_61816 Lnet/minecraft/class_3609$class_9900;method_61816(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      official a Letu$b;a(Ljh;)Ldxu;
    • getBlockState

      private BlockState getBlockState(BlockPos pos, short packed)
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/fluid/FlowableFluid$SpreadCache;getBlockState(Lnet/minecraft/util/math/BlockPos;S)Lnet/minecraft/block/BlockState;
      intermediary method_61817 Lnet/minecraft/class_3609$class_9900;method_61817(Lnet/minecraft/class_2338;S)Lnet/minecraft/class_2680;
      official a Letu$b;a(Ljh;S)Ldxu;
    • canFlowDownTo

      public boolean canFlowDownTo(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named canFlowDownTo Lnet/minecraft/fluid/FlowableFluid$SpreadCache;canFlowDownTo(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_61818 Lnet/minecraft/class_3609$class_9900;method_61818(Lnet/minecraft/class_2338;)Z
      official b Letu$b;b(Ljh;)Z
    • pack

      private short pack(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named pack Lnet/minecraft/fluid/FlowableFluid$SpreadCache;pack(Lnet/minecraft/util/math/BlockPos;)S
      intermediary method_61820 Lnet/minecraft/class_3609$class_9900;method_61820(Lnet/minecraft/class_2338;)S
      official c Letu$b;c(Ljh;)S