Class LiquidBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.LiquidBlock
Direct Known Subclasses:
FlowingLiquidBlock, StillLiquidBlock

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

    • LiquidBlock

      protected LiquidBlock(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/Block;<init>(ILnet/minecraft/block/Material;)V
  • Method Details

    • getColorMultiplier

      @Environment(CLIENT) public int getColorMultiplier(BlockView blockView, int x, int y, int z)
      Overrides:
      getColorMultiplier in class Block
      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 getColorMultiplier Lnet/minecraft/block/Block;getColorMultiplier(Lnet/minecraft/world/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/LiquidBlock;method_1218(I)F
    • getTexture

      public int getTexture(int side)
      Overrides:
      getTexture in class Block
      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 getTexture Lnet/minecraft/block/Block;getTexture(I)I
    • method_1220

      protected int method_1220(World world, int int2, int int3, int int4)
      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/LiquidBlock;method_1220(Lnet/minecraft/world/World;III)I
    • method_1217

      protected int method_1217(BlockView blockView, int int2, int int3, int int4)
      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/LiquidBlock;method_1217(Lnet/minecraft/world/BlockView;III)I
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class Block
      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/Block;isFullCube()Z
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class Block
      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 isOpaque Lnet/minecraft/block/Block;isOpaque()Z
    • hasCollision

      public boolean hasCollision(int meta, boolean bool)
      Overrides:
      hasCollision in class Block
      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 hasCollision Lnet/minecraft/block/Block;hasCollision(IZ)Z
    • isSolidBlock

      public boolean isSolidBlock(BlockView blockView, int x, int y, int z, int int2)
      Overrides:
      isSolidBlock in class Block
      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 isSolidBlock Lnet/minecraft/block/Block;isSolidBlock(Lnet/minecraft/world/BlockView;IIII)Z
    • isSideVisible

      @Environment(CLIENT) public boolean isSideVisible(BlockView blockView, int x, int y, int z, int side)
      Overrides:
      isSideVisible in class Block
      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 isSideVisible Lnet/minecraft/block/Block;isSideVisible(Lnet/minecraft/world/BlockView;IIII)Z
    • getCollisionShape

      public Box getCollisionShape(World world, int x, int y, int z)
      Overrides:
      getCollisionShape in class Block
      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/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class Block
      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/Block;getRenderType()I
    • getDroppedItemId

      public int getDroppedItemId(int blockMeta, Random random)
      Overrides:
      getDroppedItemId in class Block
      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 getDroppedItemId Lnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
    • getDroppedItemCount

      public int getDroppedItemCount(Random random)
      Overrides:
      getDroppedItemCount in class Block
      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 getDroppedItemCount Lnet/minecraft/block/Block;getDroppedItemCount(Ljava/util/Random;)I
    • method_1219

      private Vec3d method_1219(BlockView blockView, int int2, int int3, int int4)
      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/LiquidBlock;method_1219(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/util/math/Vec3d;
    • applyVelocity

      public void applyVelocity(World world, int x, int y, int z, Entity entity, Vec3d vec3d)
      Overrides:
      applyVelocity in class Block
      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 applyVelocity Lnet/minecraft/block/Block;applyVelocity(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
    • getTickRate

      public int getTickRate()
      Overrides:
      getTickRate in class Block
      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/Block;getTickRate()I
    • getBrightness

      @Environment(CLIENT) public float getBrightness(BlockView blockView, int x, int y, int z)
      Overrides:
      getBrightness in class Block
      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/Block;getBrightness(Lnet/minecraft/world/BlockView;III)F
    • onTick

      public void onTick(World world, int x, int y, int z, Random random)
      Called at a frequency based on the return value of getTickrate(). This method will be called approximately getTickrate() times per second.
      Overrides:
      onTick in class Block
      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 onTick Lnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • getRenderLayer

      @Environment(CLIENT) public int getRenderLayer()
      Overrides:
      getRenderLayer in class Block
      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 getRenderLayer Lnet/minecraft/block/Block;getRenderLayer()I
    • randomDisplayTick

      @Environment(CLIENT) public void randomDisplayTick(World world, int x, int y, int z, Random random)
      Overrides:
      randomDisplayTick in class Block
      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/Block;randomDisplayTick(Lnet/minecraft/world/World;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/LiquidBlock;method_1223(Lnet/minecraft/world/BlockView;IIILnet/minecraft/block/Material;)D
    • onPlaced

      public void onPlaced(World world, int x, int y, int z)
      Overrides:
      onPlaced in class Block
      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 onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;III)V
    • neighborUpdate

      public void neighborUpdate(World world, int x, int y, int z, int id)
      Overrides:
      neighborUpdate in class Block
      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 neighborUpdate Lnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
    • method_1222

      private void method_1222(World world, int int2, int int3, int int4)
      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/LiquidBlock;method_1222(Lnet/minecraft/world/World;III)V
    • method_1221

      protected void method_1221(World world, 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/LiquidBlock;method_1221(Lnet/minecraft/world/World;III)V