Class Fluid

Direct Known Subclasses:
FlowingFluid, StillFluid

public abstract class Fluid extends BlockBase
Mappings:
Namespace Name
intermediary net/minecraft/class_385
glue class_418
server kv
client rp
named net/minecraft/block/Fluid
  • Constructor Details

    • Fluid

      protected Fluid(int id, Material material)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_17;<init>(ILnet/minecraft/class_15;)V
      glue <init> Lclass_507;<init>(ILclass_280;)V
      server <init> Lna;<init>(ILhj;)V
      client <init> Luu;<init>(ILln;)V
      named <init> Lnet/minecraft/block/BlockBase;<init>(ILnet/minecraft/block/material/Material;)V
  • Method Details

    • getColourMultiplier

      @Environment(CLIENT) public int getColourMultiplier(BlockView tileView, int x, int y, int z)
      Overrides:
      getColourMultiplier in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1600 Lnet/minecraft/class_17;method_1600(Lnet/minecraft/class_14;III)I
      glue method_184 Lclass_507;method_184(Lclass_584;III)I
      server method_1600 Lna;method_1600(Lpb;III)I
      client b Luu;b(Lxp;III)I
      named getColourMultiplier Lnet/minecraft/block/BlockBase;getColourMultiplier(Lnet/minecraft/level/BlockView;III)I
    • method_1218

      public static float method_1218(int int2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1218 Lnet/minecraft/class_385;method_1218(I)F
      glue method_1568 Lclass_418;method_1568(I)F
      server c Lkv;c(I)F
      client d Lrp;d(I)F
      named method_1218 Lnet/minecraft/block/Fluid;method_1218(I)F
    • getTextureForSide

      public int getTextureForSide(int side)
      Overrides:
      getTextureForSide in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1607 Lnet/minecraft/class_17;method_1607(I)I
      glue method_37 Lclass_507;method_37(I)I
      server a Lna;a(I)I
      client a Luu;a(I)I
      named getTextureForSide Lnet/minecraft/block/BlockBase;getTextureForSide(I)I
    • method_1220

      protected int method_1220(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1220 Lnet/minecraft/class_385;method_1220(Lnet/minecraft/class_18;III)I
      glue method_1570 Lclass_418;method_1570(Lclass_129;III)I
      server g Lkv;g(Ldj;III)I
      client h Lrp;h(Lfd;III)I
      named method_1220 Lnet/minecraft/block/Fluid;method_1220(Lnet/minecraft/level/Level;III)I
    • method_1217

      protected int method_1217(BlockView blockView, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1217 Lnet/minecraft/class_385;method_1217(Lnet/minecraft/class_14;III)I
      glue method_1566 Lclass_418;method_1566(Lclass_584;III)I
      server b Lkv;b(Lpb;III)I
      client c Lrp;c(Lxp;III)I
      named method_1217 Lnet/minecraft/block/Fluid;method_1217(Lnet/minecraft/level/BlockView;III)I
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1623 Lnet/minecraft/class_17;method_1623()Z
      glue method_66 Lclass_507;method_66()Z
      server b Lna;b()Z
      client d Luu;d()Z
      named isFullCube Lnet/minecraft/block/BlockBase;isFullCube()Z
    • isFullOpaque

      public boolean isFullOpaque()
      Overrides:
      isFullOpaque in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1620 Lnet/minecraft/class_17;method_1620()Z
      glue method_65 Lclass_507;method_65()Z
      server a Lna;a()Z
      client c Luu;c()Z
      named isFullOpaque Lnet/minecraft/block/BlockBase;isFullOpaque()Z
    • isCollidable

      public boolean isCollidable(int meta, boolean bool)
      Overrides:
      isCollidable in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1571 Lnet/minecraft/class_17;method_1571(IZ)Z
      glue method_1564 Lclass_507;method_1564(IZ)Z
      server a Lna;a(IZ)Z
      client a Luu;a(IZ)Z
      named isCollidable Lnet/minecraft/block/BlockBase;isCollidable(IZ)Z
    • isSolid

      public boolean isSolid(BlockView tileView, int x, int y, int z, int meta)
      Overrides:
      isSolid in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1573 Lnet/minecraft/class_17;method_1573(Lnet/minecraft/class_14;IIII)Z
      glue method_1567 Lclass_507;method_1567(Lclass_584;IIII)Z
      server b Lna;b(Lpb;IIII)Z
      client d Luu;d(Lxp;IIII)Z
      named isSolid Lnet/minecraft/block/BlockBase;isSolid(Lnet/minecraft/level/BlockView;IIII)Z
    • isSideRendered

      @Environment(CLIENT) public boolean isSideRendered(BlockView tileView, int x, int y, int z, int side)
      Overrides:
      isSideRendered in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1618 Lnet/minecraft/class_17;method_1618(Lnet/minecraft/class_14;IIII)Z
      glue method_63 Lclass_507;method_63(Lclass_584;IIII)Z
      server method_1618 Lna;method_1618(Lpb;IIII)Z
      client b Luu;b(Lxp;IIII)Z
      named isSideRendered Lnet/minecraft/block/BlockBase;isSideRendered(Lnet/minecraft/level/BlockView;IIII)Z
    • getCollisionShape

      public Box getCollisionShape(Level level, int x, int y, int z)
      Overrides:
      getCollisionShape in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1624 Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;
      glue method_67 Lclass_507;method_67(Lclass_129;III)Lclass_113;
      server e Lna;e(Ldj;III)Lcz;
      client e Luu;e(Lfd;III)Leq;
      named getCollisionShape Lnet/minecraft/block/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1621 Lnet/minecraft/class_17;method_1621()I
      glue method_652 Lclass_507;method_652()I
      server method_1621 Lna;method_1621()I
      client b Luu;b()I
      named getRenderType Lnet/minecraft/block/BlockBase;getRenderType()I
    • getDropId

      public int getDropId(int meta, Random rand)
      Overrides:
      getDropId in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1601 Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)I
      glue method_19 Lclass_507;method_19(ILjava/util/Random;)I
      server a Lna;a(ILjava/util/Random;)I
      client a Luu;a(ILjava/util/Random;)I
      named getDropId Lnet/minecraft/block/BlockBase;getDropId(ILjava/util/Random;)I
    • getDropCount

      public int getDropCount(Random rand)
      Overrides:
      getDropCount in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1603 Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)I
      glue method_21 Lclass_507;method_21(Ljava/util/Random;)I
      server a Lna;a(Ljava/util/Random;)I
      client a Luu;a(Ljava/util/Random;)I
      named getDropCount Lnet/minecraft/block/BlockBase;getDropCount(Ljava/util/Random;)I
    • method_1219

      private Vec3f method_1219(BlockView blockView, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1219 Lnet/minecraft/class_385;method_1219(Lnet/minecraft/class_14;III)Lnet/minecraft/class_26;
      glue method_1569 Lclass_418;method_1569(Lclass_584;III)Lclass_45;
      server c Lkv;c(Lpb;III)Lba;
      client e Lrp;e(Lxp;III)Lbt;
      named method_1219 Lnet/minecraft/block/Fluid;method_1219(Lnet/minecraft/level/BlockView;III)Lnet/minecraft/util/maths/Vec3f;
    • onCollideWithEntity

      public void onCollideWithEntity(Level level, int x, int y, int z, EntityBase entityBase, Vec3f vec3f)
      Overrides:
      onCollideWithEntity in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1572 Lnet/minecraft/class_17;method_1572(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;Lnet/minecraft/class_26;)V
      glue method_1565 Lclass_507;method_1565(Lclass_129;IIILclass_450;Lclass_45;)V
      server a Lna;a(Ldj;IIILlq;Lba;)V
      client a Luu;a(Lfd;IIILsn;Lbt;)V
      named onCollideWithEntity Lnet/minecraft/block/BlockBase;onCollideWithEntity(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;Lnet/minecraft/util/maths/Vec3f;)V
    • getTickrate

      public int getTickrate()
      Overrides:
      getTickrate in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1565 Lnet/minecraft/class_17;method_1565()I
      glue method_123 Lclass_507;method_123()I
      server c Lna;c()I
      client e Luu;e()I
      named getTickrate Lnet/minecraft/block/BlockBase;getTickrate()I
    • getBrightness

      @Environment(CLIENT) public float getBrightness(BlockView tileView, int x, int y, int z)
      Overrides:
      getBrightness in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1604 Lnet/minecraft/class_17;method_1604(Lnet/minecraft/class_14;III)F
      glue method_2126 Lclass_507;method_2126(Lclass_584;III)F
      server method_1604 Lna;method_1604(Lpb;III)F
      client d Luu;d(Lxp;III)F
      named getBrightness Lnet/minecraft/block/BlockBase;getBrightness(Lnet/minecraft/level/BlockView;III)F
    • onScheduledTick

      public void onScheduledTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      onScheduledTick in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1602 Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_20 Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)V
      server a Lna;a(Ldj;IIILjava/util/Random;)V
      client a Luu;a(Lfd;IIILjava/util/Random;)V
      named onScheduledTick Lnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
    • getRenderPass

      @Environment(CLIENT) public int getRenderPass()
      Overrides:
      getRenderPass in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1619 Lnet/minecraft/class_17;method_1619()I
      glue method_64 Lclass_507;method_64()I
      server method_1619 Lna;method_1619()I
      client b_ Luu;b_()I
      named getRenderPass Lnet/minecraft/block/BlockBase;getRenderPass()I
    • randomDisplayTick

      @Environment(CLIENT) public void randomDisplayTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      randomDisplayTick in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1617 Lnet/minecraft/class_17;method_1617(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_62 Lclass_507;method_62(Lclass_129;IIILjava/util/Random;)V
      server method_1617 Lna;method_1617(Ldj;IIILjava/util/Random;)V
      client b Luu;b(Lfd;IIILjava/util/Random;)V
      named randomDisplayTick Lnet/minecraft/block/BlockBase;randomDisplayTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
    • method_1223

      @Environment(CLIENT) public static double method_1223(BlockView blockView, int int2, int int3, int int4, Material material)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1223 Lnet/minecraft/class_385;method_1223(Lnet/minecraft/class_14;IIILnet/minecraft/class_15;)D
      glue method_2125 Lclass_418;method_2125(Lclass_584;IIILclass_280;)D
      server method_1223 Lkv;method_1223(Lpb;IIILhj;)D
      client a Lrp;a(Lxp;IIILln;)D
      named method_1223 Lnet/minecraft/block/Fluid;method_1223(Lnet/minecraft/level/BlockView;IIILnet/minecraft/block/material/Material;)D
    • onBlockPlaced

      public void onBlockPlaced(Level level, int x, int y, int z)
      Overrides:
      onBlockPlaced in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1611 Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)V
      glue method_41 Lclass_507;method_41(Lclass_129;III)V
      server c Lna;c(Ldj;III)V
      client c Luu;c(Lfd;III)V
      named onBlockPlaced Lnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
    • onAdjacentBlockUpdate

      public void onAdjacentBlockUpdate(Level level, int x, int y, int z, int id)
      Overrides:
      onAdjacentBlockUpdate in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1609 Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)V
      glue method_39 Lclass_507;method_39(Lclass_129;IIII)V
      server b Lna;b(Ldj;IIII)V
      client b Luu;b(Lfd;IIII)V
      named onAdjacentBlockUpdate Lnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
    • method_1222

      private void method_1222(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1222 Lnet/minecraft/class_385;method_1222(Lnet/minecraft/class_18;III)V
      glue method_1572 Lclass_418;method_1572(Lclass_129;III)V
      server i Lkv;i(Ldj;III)V
      client j Lrp;j(Lfd;III)V
      named method_1222 Lnet/minecraft/block/Fluid;method_1222(Lnet/minecraft/level/Level;III)V
    • method_1221

      protected void method_1221(Level level, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1221 Lnet/minecraft/class_385;method_1221(Lnet/minecraft/class_18;III)V
      glue method_1571 Lclass_418;method_1571(Lclass_129;III)V
      server h Lkv;h(Ldj;III)V
      client i Lrp;i(Lfd;III)V
      named method_1221 Lnet/minecraft/block/Fluid;method_1221(Lnet/minecraft/level/Level;III)V