Package net.minecraft.block
Class Fluid
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Fluid
- Direct Known Subclasses:
FlowingFluid,StillFluid
- Mappings:
Namespace Name intermediary net/minecraft/class_385glue class_418server kvclient rpnamed net/minecraft/block/Fluid
-
Field Summary
Fields inherited from class net.minecraft.block.BlockBase
ALLOWS_GRASS_UNDER, BED, BEDROCK, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, BY_ID, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, CROPS, DANDELION, DEADBUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOUBLE_STONE_SLAB, EMITTANCE, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FULL_OPAQUE, FURNACE, FURNACE_LIT, GLASS, GLASS_SOUNDS, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GOLDEN_RAIL, GRASS, GRASS_SOUNDS, GRAVEL, GRAVEL_SOUNDS, hardness, HAS_TILE_ENTITY, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, isStatEnabled, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_LAZULI_BLOCK, LAPIS_LAZULI_ORE, LEAVES, LEVER, LIGHT_OPACITY, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUNDS, minX, minY, minZ, MOB_SPAWNER, MOSSY_COBBLESTONE, MOVING_PISTON, NETHERRACK, NO_NOTIFY_ON_META_CHANGE, NOTEBLOCK, OBSIDIAN, particalSpeed, PISTON, PISTON_HEAD, PISTON_SOUNDS, PORTAL, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_DUST, REDSTONE_ORE, REDSTONE_ORE_LIT, REDSTONE_REPEATER, REDSTONE_REPEATER_LIT, REDSTONE_TORCH, REDSTONE_TORCH_LIT, resistance, ROSE, SAND, SAND_SOUNDS, SANDSTONE, SAPLING, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, sounds, SPONGE, STANDING_SIGN, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SOUNDS, SUGAR_CANES, TALLGRASS, texture, TICKS_RANDOMLY, TNT, TORCH, TRAPDOOR, unusedBoolean1, WALL_SIGN, WOOD, WOOD_DOOR, WOOD_SOUNDS, WOOD_STAIRS, WOODEN_PRESSURE_PLATE, WOOL, WOOL_SOUNDS, WORKBENCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetBrightness(BlockView tileView, int x, int y, int z) getCollisionShape(Level level, int x, int y, int z) intgetColourMultiplier(BlockView tileView, int x, int y, int z) intgetDropCount(Random rand) intintintintgetTextureForSide(int side) intbooleanisCollidable(int meta, boolean bool) booleanbooleanbooleanisSideRendered(BlockView tileView, int x, int y, int z, int side) booleanprotected intmethod_1217(BlockView blockView, int x, int y, int z) static floatmethod_1218(int int2) private Vec3fmethod_1219(BlockView blockView, int x, int y, int z) protected intmethod_1220(Level level, int x, int y, int z) protected voidmethod_1221(Level level, int int2, int int3, int int4) private voidmethod_1222(Level level, int x, int y, int z) static doublemethod_1223(BlockView blockView, int int2, int int3, int int4, Material material) voidonAdjacentBlockUpdate(Level level, int x, int y, int z, int id) voidonBlockPlaced(Level level, int x, int y, int z) voidonCollideWithEntity(Level level, int x, int y, int z, EntityBase entityBase, Vec3f vec3f) voidonScheduledTick(Level level, int x, int y, int z, Random rand) voidrandomDisplayTick(Level level, int x, int y, int z, Random rand) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, beforeDestroyedByExplosion, canGrow, canPlaceAt, canPlaceAt, canUse, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getTextureForSide, getTextureForSide, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isPowered, isStatEnabled, method_1564, method_1605, onBlockPlaced, onBlockRemoved, onDestroyedByExplosion, onEntityCollision, onSteppedOn, onTileAction, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Constructor Details
-
Fluid
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_17;<init>(ILnet/minecraft/class_15;)Vglue <init>Lclass_507;<init>(ILclass_280;)Vserver <init>Lna;<init>(ILhj;)Vclient <init>Luu;<init>(ILln;)Vnamed <init>Lnet/minecraft/block/BlockBase;<init>(ILnet/minecraft/block/material/Material;)V
-
-
Method Details
-
getColourMultiplier
- Overrides:
getColourMultiplierin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1600Lnet/minecraft/class_17;method_1600(Lnet/minecraft/class_14;III)Iglue method_184Lclass_507;method_184(Lclass_584;III)Iserver method_1600Lna;method_1600(Lpb;III)Iclient bLuu;b(Lxp;III)Inamed getColourMultiplierLnet/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_1218Lnet/minecraft/class_385;method_1218(I)Fglue method_1568Lclass_418;method_1568(I)Fserver cLkv;c(I)Fclient dLrp;d(I)Fnamed method_1218Lnet/minecraft/block/Fluid;method_1218(I)F
-
getTextureForSide
public int getTextureForSide(int side) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1607Lnet/minecraft/class_17;method_1607(I)Iglue method_37Lclass_507;method_37(I)Iserver aLna;a(I)Iclient aLuu;a(I)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(I)I
-
method_1220
- Mappings:
Namespace Name Mixin selector intermediary method_1220Lnet/minecraft/class_385;method_1220(Lnet/minecraft/class_18;III)Iglue method_1570Lclass_418;method_1570(Lclass_129;III)Iserver gLkv;g(Ldj;III)Iclient hLrp;h(Lfd;III)Inamed method_1220Lnet/minecraft/block/Fluid;method_1220(Lnet/minecraft/level/Level;III)I
-
method_1217
- Mappings:
Namespace Name Mixin selector intermediary method_1217Lnet/minecraft/class_385;method_1217(Lnet/minecraft/class_14;III)Iglue method_1566Lclass_418;method_1566(Lclass_584;III)Iserver bLkv;b(Lpb;III)Iclient cLrp;c(Lxp;III)Inamed method_1217Lnet/minecraft/block/Fluid;method_1217(Lnet/minecraft/level/BlockView;III)I
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1623Lnet/minecraft/class_17;method_1623()Zglue method_66Lclass_507;method_66()Zserver bLna;b()Zclient dLuu;d()Znamed isFullCubeLnet/minecraft/block/BlockBase;isFullCube()Z
-
isFullOpaque
public boolean isFullOpaque()- Overrides:
isFullOpaquein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1620Lnet/minecraft/class_17;method_1620()Zglue method_65Lclass_507;method_65()Zserver aLna;a()Zclient cLuu;c()Znamed isFullOpaqueLnet/minecraft/block/BlockBase;isFullOpaque()Z
-
isCollidable
public boolean isCollidable(int meta, boolean bool) - Overrides:
isCollidablein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1571Lnet/minecraft/class_17;method_1571(IZ)Zglue method_1564Lclass_507;method_1564(IZ)Zserver aLna;a(IZ)Zclient aLuu;a(IZ)Znamed isCollidableLnet/minecraft/block/BlockBase;isCollidable(IZ)Z
-
isSolid
- Overrides:
isSolidin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1573Lnet/minecraft/class_17;method_1573(Lnet/minecraft/class_14;IIII)Zglue method_1567Lclass_507;method_1567(Lclass_584;IIII)Zserver bLna;b(Lpb;IIII)Zclient dLuu;d(Lxp;IIII)Znamed isSolidLnet/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:
isSideRenderedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1618Lnet/minecraft/class_17;method_1618(Lnet/minecraft/class_14;IIII)Zglue method_63Lclass_507;method_63(Lclass_584;IIII)Zserver method_1618Lna;method_1618(Lpb;IIII)Zclient bLuu;b(Lxp;IIII)Znamed isSideRenderedLnet/minecraft/block/BlockBase;isSideRendered(Lnet/minecraft/level/BlockView;IIII)Z
-
getCollisionShape
- Overrides:
getCollisionShapein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1624Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_67Lclass_507;method_67(Lclass_129;III)Lclass_113;server eLna;e(Ldj;III)Lcz;client eLuu;e(Lfd;III)Leq;named getCollisionShapeLnet/minecraft/block/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
getRenderType
- Overrides:
getRenderTypein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1621Lnet/minecraft/class_17;method_1621()Iglue method_652Lclass_507;method_652()Iserver method_1621Lna;method_1621()Iclient bLuu;b()Inamed getRenderTypeLnet/minecraft/block/BlockBase;getRenderType()I
-
getDropId
- Overrides:
getDropIdin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1601Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)Iglue method_19Lclass_507;method_19(ILjava/util/Random;)Iserver aLna;a(ILjava/util/Random;)Iclient aLuu;a(ILjava/util/Random;)Inamed getDropIdLnet/minecraft/block/BlockBase;getDropId(ILjava/util/Random;)I
-
getDropCount
- Overrides:
getDropCountin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1603Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)Iglue method_21Lclass_507;method_21(Ljava/util/Random;)Iserver aLna;a(Ljava/util/Random;)Iclient aLuu;a(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/BlockBase;getDropCount(Ljava/util/Random;)I
-
method_1219
- Mappings:
Namespace Name Mixin selector intermediary method_1219Lnet/minecraft/class_385;method_1219(Lnet/minecraft/class_14;III)Lnet/minecraft/class_26;glue method_1569Lclass_418;method_1569(Lclass_584;III)Lclass_45;server cLkv;c(Lpb;III)Lba;client eLrp;e(Lxp;III)Lbt;named method_1219Lnet/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:
onCollideWithEntityin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1572Lnet/minecraft/class_17;method_1572(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;Lnet/minecraft/class_26;)Vglue method_1565Lclass_507;method_1565(Lclass_129;IIILclass_450;Lclass_45;)Vserver aLna;a(Ldj;IIILlq;Lba;)Vclient aLuu;a(Lfd;IIILsn;Lbt;)Vnamed onCollideWithEntityLnet/minecraft/block/BlockBase;onCollideWithEntity(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;Lnet/minecraft/util/maths/Vec3f;)V
-
getTickrate
public int getTickrate()- Overrides:
getTickratein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1565Lnet/minecraft/class_17;method_1565()Iglue method_123Lclass_507;method_123()Iserver cLna;c()Iclient eLuu;e()Inamed getTickrateLnet/minecraft/block/BlockBase;getTickrate()I
-
getBrightness
- Overrides:
getBrightnessin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1604Lnet/minecraft/class_17;method_1604(Lnet/minecraft/class_14;III)Fglue method_2126Lclass_507;method_2126(Lclass_584;III)Fserver method_1604Lna;method_1604(Lpb;III)Fclient dLuu;d(Lxp;III)Fnamed getBrightnessLnet/minecraft/block/BlockBase;getBrightness(Lnet/minecraft/level/BlockView;III)F
-
onScheduledTick
- Overrides:
onScheduledTickin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1602Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_20Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)Vserver aLna;a(Ldj;IIILjava/util/Random;)Vclient aLuu;a(Lfd;IIILjava/util/Random;)Vnamed onScheduledTickLnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
getRenderPass
- Overrides:
getRenderPassin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1619Lnet/minecraft/class_17;method_1619()Iglue method_64Lclass_507;method_64()Iserver method_1619Lna;method_1619()Iclient b_Luu;b_()Inamed getRenderPassLnet/minecraft/block/BlockBase;getRenderPass()I
-
randomDisplayTick
- Overrides:
randomDisplayTickin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1617Lnet/minecraft/class_17;method_1617(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_62Lclass_507;method_62(Lclass_129;IIILjava/util/Random;)Vserver method_1617Lna;method_1617(Ldj;IIILjava/util/Random;)Vclient bLuu;b(Lfd;IIILjava/util/Random;)Vnamed randomDisplayTickLnet/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_1223Lnet/minecraft/class_385;method_1223(Lnet/minecraft/class_14;IIILnet/minecraft/class_15;)Dglue method_2125Lclass_418;method_2125(Lclass_584;IIILclass_280;)Dserver method_1223Lkv;method_1223(Lpb;IIILhj;)Dclient aLrp;a(Lxp;IIILln;)Dnamed method_1223Lnet/minecraft/block/Fluid;method_1223(Lnet/minecraft/level/BlockView;IIILnet/minecraft/block/material/Material;)D
-
onBlockPlaced
- Overrides:
onBlockPlacedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1611Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)Vglue method_41Lclass_507;method_41(Lclass_129;III)Vserver cLna;c(Ldj;III)Vclient cLuu;c(Lfd;III)Vnamed onBlockPlacedLnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
-
onAdjacentBlockUpdate
- Overrides:
onAdjacentBlockUpdatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1609Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)Vglue method_39Lclass_507;method_39(Lclass_129;IIII)Vserver bLna;b(Ldj;IIII)Vclient bLuu;b(Lfd;IIII)Vnamed onAdjacentBlockUpdateLnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
-
method_1222
- Mappings:
Namespace Name Mixin selector intermediary method_1222Lnet/minecraft/class_385;method_1222(Lnet/minecraft/class_18;III)Vglue method_1572Lclass_418;method_1572(Lclass_129;III)Vserver iLkv;i(Ldj;III)Vclient jLrp;j(Lfd;III)Vnamed method_1222Lnet/minecraft/block/Fluid;method_1222(Lnet/minecraft/level/Level;III)V
-
method_1221
- Mappings:
Namespace Name Mixin selector intermediary method_1221Lnet/minecraft/class_385;method_1221(Lnet/minecraft/class_18;III)Vglue method_1571Lclass_418;method_1571(Lclass_129;III)Vserver hLkv;h(Ldj;III)Vclient iLrp;i(Lfd;III)Vnamed method_1221Lnet/minecraft/block/Fluid;method_1221(Lnet/minecraft/level/Level;III)V
-