Package net.minecraft.block
Class LiquidBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.LiquidBlock
- Direct Known Subclasses:
FlowingLiquidBlock,StillLiquidBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_385glue class_418server kvclient rpnamed net/minecraft/block/LiquidBlock
-
Field Summary
Fields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyVelocity(World world, int x, int y, int z, Entity entity, Vec3d vec3d) getCollisionShape(World world, int x, int y, int z) intgetColorMultiplier(BlockView blockView, int x, int y, int z) intgetDroppedItemCount(Random random) intgetDroppedItemId(int blockMeta, Random random) static floatgetFluidHeightFromMeta(int meta) floatgetLuminance(BlockView blockView, int x, int y, int z) intintintgetTexture(int side) intbooleanhasCollision(int meta, boolean bool) booleanbooleanisOpaque()booleanisSideVisible(BlockView blockView, int x, int y, int z, int side) booleanisSolidBlock(BlockView blockView, int x, int y, int z, int int2) protected intmethod_1217(BlockView blockView, int int2, int int3, int int4) private Vec3dmethod_1219(BlockView blockView, int int2, int int3, int int4) protected intmethod_1220(World world, int int2, int int3, int int4) protected voidmethod_1221(World world, int int2, int int3, int int4) private voidmethod_1222(World world, int int2, int int3, int int4) static doublemethod_1223(BlockView blockView, int int2, int int3, int int4, Material material) voidneighborUpdate(World world, int x, int y, int z, int id) voidvoidCalled at a frequency based on the return value ofBlock.getTickRate().voidrandomDisplayTick(World world, int x, int y, int z, Random random) Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, canEmitRedstonePower, canGrow, canPlaceAt, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getColor, getDroppedItemMeta, getHardness, getHardness, getPistonBehavior, getTexture, getTextureId, getTranslatedName, getTranslationKey, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePower, isTrackingStatistics, onBlockAction, onBlockBreakStart, onBreak, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onPlaced, onSteppedOn, onUse, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Constructor Details
-
LiquidBlock
- 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/Block;<init>(ILnet/minecraft/block/material/Material;)V
-
-
Method Details
-
getColorMultiplier
- Overrides:
getColorMultiplierin classBlock- 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 getColorMultiplierLnet/minecraft/block/Block;getColorMultiplier(Lnet/minecraft/world/BlockView;III)I
-
getFluidHeightFromMeta
public static float getFluidHeightFromMeta(int meta) - 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 getFluidHeightFromMetaLnet/minecraft/block/LiquidBlock;getFluidHeightFromMeta(I)F
-
getTexture
public int getTexture(int side) - Overrides:
getTexturein classBlock- 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 getTextureLnet/minecraft/block/Block;getTexture(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/LiquidBlock;method_1220(Lnet/minecraft/world/World;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/LiquidBlock;method_1217(Lnet/minecraft/world/BlockView;III)I
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlock- 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/Block;isFullCube()Z
-
isOpaque
public boolean isOpaque() -
hasCollision
public boolean hasCollision(int meta, boolean bool) - Overrides:
hasCollisionin classBlock- 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 hasCollisionLnet/minecraft/block/Block;hasCollision(IZ)Z
-
isSolidBlock
- Overrides:
isSolidBlockin classBlock- 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 isSolidBlockLnet/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:
isSideVisiblein classBlock- 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 isSideVisibleLnet/minecraft/block/Block;isSideVisible(Lnet/minecraft/world/BlockView;IIII)Z
-
getCollisionShape
- Overrides:
getCollisionShapein classBlock- 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/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
getRenderType
- Overrides:
getRenderTypein classBlock- 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/Block;getRenderType()I
-
getDroppedItemId
- Overrides:
getDroppedItemIdin classBlock- 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 getDroppedItemIdLnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
-
getDroppedItemCount
- Overrides:
getDroppedItemCountin classBlock- 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 getDroppedItemCountLnet/minecraft/block/Block;getDroppedItemCount(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/LiquidBlock;method_1219(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/util/math/Vec3d;
-
applyVelocity
- Overrides:
applyVelocityin classBlock- 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 applyVelocityLnet/minecraft/block/Block;applyVelocity(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
-
getTickRate
public int getTickRate()- Overrides:
getTickRatein classBlock- 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/Block;getTickRate()I
-
getLuminance
- Overrides:
getLuminancein classBlock- 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 getLuminanceLnet/minecraft/block/Block;getLuminance(Lnet/minecraft/world/BlockView;III)F
-
onTick
Called at a frequency based on the return value ofBlock.getTickRate(). This method will be called approximatelyBlock.getTickRate()times per second.- Overrides:
onTickin classBlock- 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 onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
getRenderLayer
- Overrides:
getRenderLayerin classBlock- 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 getRenderLayerLnet/minecraft/block/Block;getRenderLayer()I
-
randomDisplayTick
- Overrides:
randomDisplayTickin classBlock- 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/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_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/LiquidBlock;method_1223(Lnet/minecraft/world/BlockView;IIILnet/minecraft/block/material/Material;)D
-
onPlaced
- Overrides:
onPlacedin classBlock- 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 onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;III)V
-
neighborUpdate
- Overrides:
neighborUpdatein classBlock- 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 neighborUpdateLnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;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/LiquidBlock;method_1222(Lnet/minecraft/world/World;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/LiquidBlock;method_1221(Lnet/minecraft/world/World;III)V
-