public class BlockFlowingFluid extends Block implements IBucketPickupHandler
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
protected FlowingFluid |
fluid |
static IntegerProperty |
LEVEL |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Modifier | Constructor and Description |
|---|---|
protected |
BlockFlowingFluid(FlowingFluid fluidIn,
Block.Properties builder) |
addInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, nudgeEntitiesWithNewState, onBlockActivated, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, quantityDropped, registerBlocks, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final IntegerProperty LEVEL
protected final FlowingFluid fluid
protected BlockFlowingFluid(FlowingFluid fluidIn, Block.Properties builder)
public void randomTick(IBlockState state, World worldIn, BlockPos pos, java.util.Random random)
randomTick in class Blockpublic boolean propagatesSkylightDown(IBlockState state, IBlockReader reader, BlockPos pos)
propagatesSkylightDown in class Blockpublic boolean allowsMovement(IBlockState state, IBlockReader worldIn, BlockPos pos, PathType type)
allowsMovement in class Blockpublic IFluidState getFluidState(IBlockState state)
getFluidState in class Blockpublic boolean isFullCube(IBlockState state)
isFullCube in class Blockpublic boolean isCollidable(IBlockState state)
isCollidable in class Blockpublic boolean isSideInvisible(IBlockState state, IBlockState adjacentBlockState, EnumFacing side)
isSideInvisible in class Blockpublic VoxelShape getShape(IBlockState state, IBlockReader worldIn, BlockPos pos)
public EnumBlockRenderType getRenderType(IBlockState state)
getRenderType in class Blockpublic IItemProvider getItemDropped(IBlockState state, World worldIn, BlockPos pos, int fortune)
getItemDropped in class Blockpublic int tickRate(IWorldReaderBase worldIn)
public void onBlockAdded(IBlockState state, World worldIn, BlockPos pos, IBlockState oldState)
onBlockAdded in class Blockpublic IBlockState updatePostPlacement(IBlockState stateIn, EnumFacing facing, IBlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement in class Blockpublic void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn, BlockPos fromPos)
neighborChanged in class Blockpublic boolean reactWithNeighbors(World worldIn, BlockPos pos, IBlockState state)
protected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer in class Blockpublic BlockFaceShape getBlockFaceShape(IBlockReader worldIn, IBlockState state, BlockPos pos, EnumFacing face)
getBlockFaceShape in class Blockpublic Fluid pickupFluid(IWorld worldIn, BlockPos pos, IBlockState state)
pickupFluid in interface IBucketPickupHandler