Package net.minecraft.block
Class FluidBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractFluidBlock
net.minecraft.block.FluidBlock
- Mappings:
Namespace Name official baxintermediary net/minecraft/class_155named net/minecraft/block/FluidBlock
-
Field Summary
Fields inherited from class net.minecraft.block.AbstractFluidBlock
LEVELFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_483, field_484, field_486, field_487, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, field_9285, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, soundGroup, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanisBurnable(World world, BlockPos pos) protected booleanmethod_8913(World world, BlockPos blockPos) private voidmethod_8914(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, 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, 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_414, method_8634, method_8666, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onDestroyedByExplosion, onEntityCollision, onEvent, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, onUse, rainTick, randomDropAsItem, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
FluidBlock
- Parameters:
material- The block's material- Mappings:
Namespace Name Mixin selector official <init>Latr;<init>(Lbof;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)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 aLatr;a(Laqu;Ldt;Lbec;Latr;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_197;)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_8914
- Mappings:
Namespace Name Mixin selector official fLbax;f(Laqu;Ldt;Lbec;)Vintermediary method_8914Lnet/minecraft/class_155;method_8914(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8914Lnet/minecraft/block/FluidBlock;method_8914(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 bLatr;b(Laqu;Ldt;Lbec;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;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_8913
- Mappings:
Namespace Name Mixin selector official eLbax;e(Laqu;Ldt;)Zintermediary method_8913Lnet/minecraft/class_155;method_8913(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed method_8913Lnet/minecraft/block/FluidBlock;method_8913(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
isBurnable
- Mappings:
Namespace Name Mixin selector official mLbax;m(Laqu;Ldt;)Zintermediary method_8915Lnet/minecraft/class_155;method_8915(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed isBurnableLnet/minecraft/block/FluidBlock;isBurnable(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-