Package net.minecraft.block
Class FluidBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractFluidBlock
net.minecraft.block.FluidBlock
public class FluidBlock extends AbstractFluidBlock
- Mappings:
Namespace Name official ajwintermediary net/minecraft/class_313named net/minecraft/block/FluidBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType, Block.Sound -
Field Summary
Fields inherited from class net.minecraft.block.AbstractFluidBlock
LEVELFields inherited from class net.minecraft.block.Block
ANVIL, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, CLOTH, fullBlock, GLASS, GRASS, GRAVEL, LADDER, lightLevel, material, materialColor, opacity, ORE, particleGravity, RAIL, randomTicks, REGISTRY, resistance, SAND, SLIME, slipperiness, SNOW, sound, stateManager, stats, STONE, strength, transluscent, useNeighbourLight, WOOD -
Constructor Summary
Constructors Modifier Constructor Description protectedFluidBlock(Material material) -
Method Summary
Modifier and Type Method Description private booleanisBurnable(World world, BlockPos pos)protected booleanmethod_1012(World world, BlockPos blockPos)private voidmethod_1013(World world, BlockPos blockPos, BlockState blockState)voidneighborUpdate(World world, BlockPos pos, BlockState state, Block block)Runs when its adjacent blocks are updated.voidscheduledTick(World world, BlockPos pos, BlockState state, Random rand)Runs when the block is updated as per a scheduleMethods inherited from class net.minecraft.block.AbstractFluidBlock
appendProperties, blocksMovement, canCollide, getBlockColor, getBlockType, getBrightness, getCollisionBox, getData, getDirection, getDropCount, getDropItem, getFlowingFluidByMaterial, getFlowReduction, getFluidByMaterial, getFluidLevel, getFluidVec, getHeightPercent, getRenderLayerType, getTickRate, hasCollision, hasTransperancy, isSideInvisible, onCreation, onEntityCollision, playExtinguishEffects, randomDisplayTick, renderAsNormalBlock, shouldDisableCullingSides, stateFromData, updateMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendItemStacks, areBlocksEqual, calcBlockBreakingData, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockFromItem, getBlockState, getBonusDrops, getByBlockState, getById, getColor, getColor, getComparatorOutput, getDefaultState, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMeta, getMinX, getMinY, getMinZ, getOffsetType, getOpacity, getPickItem, getPistonInteractionType, getSelectionBox, getStateFromData, getStateFromRawId, getStateManager, getStrength, getStrongRedstonePower, getTranslatedName, getTranslationKey, getWeakRedstonePower, harvest, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isTransluscent, method_655, method_696, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onDestroyedByExplosion, onEntityCollision, onEvent, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, onUse, rainTick, randomDropAsItem, requiresSilkTouch, setBlockItemBounds, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setSound, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, usesNeighbourLight
-
Constructor Details
-
FluidBlock
- Parameters:
material- The block's material- Mappings:
Namespace Name Mixin selector official <init>Lafh;<init>(Larm;)Vintermediary <init>Lnet/minecraft/class_160;<init>(Lnet/minecraft/class_591;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
-
-
Method Details
-
neighborUpdate
Runs when its adjacent blocks are updated. It will also run when the block is placed or removed as Air is being updated.- Overrides:
neighborUpdatein classAbstractFluidBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateblock- The adjacent Block that updated the current block- Mappings:
Namespace Name Mixin selector official aLafh;a(Ladm;Lcj;Lalz;Lafh;)Vintermediary method_648Lnet/minecraft/class_160;method_648(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Lnet/minecraft/class_160;)Vnamed neighborUpdateLnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/Block;)V
-
method_1013
- Mappings:
Namespace Name Mixin selector official fLajw;f(Ladm;Lcj;Lalz;)Vintermediary method_1013Lnet/minecraft/class_313;method_1013(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Vnamed method_1013Lnet/minecraft/block/FluidBlock;method_1013(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
scheduledTick
Runs when the block is updated as per a schedule- Overrides:
scheduledTickin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStaterand- Random object- Mappings:
Namespace Name Mixin selector official bLafh;b(Ladm;Lcj;Lalz;Ljava/util/Random;)Vintermediary method_690Lnet/minecraft/class_160;method_690(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_376;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
method_1012
- Mappings:
Namespace Name Mixin selector official fLajw;f(Ladm;Lcj;)Zintermediary method_1012Lnet/minecraft/class_313;method_1012(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Znamed method_1012Lnet/minecraft/block/FluidBlock;method_1012(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
isBurnable
- Mappings:
Namespace Name Mixin selector official mLajw;m(Ladm;Lcj;)Zintermediary method_1014Lnet/minecraft/class_313;method_1014(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Znamed isBurnableLnet/minecraft/block/FluidBlock;isBurnable(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-