public class BlockDynamicLiquid extends BlockLiquid
Block.EnumOffsetType
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Field and Description |
---|---|
(package private) int |
adjacentSourceBlocks |
LEVEL
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
delegate
Modifier | Constructor and Description |
---|---|
protected |
BlockDynamicLiquid(Material materialIn) |
Modifier and Type | Method and Description |
---|---|
private boolean |
canFlowInto(World worldIn,
BlockPos pos,
IBlockState state) |
protected int |
checkAdjacentBlock(World worldIn,
BlockPos pos,
int currentMinLevel) |
private java.util.Set<EnumFacing> |
getPossibleFlowDirections(World worldIn,
BlockPos pos) |
private int |
getSlopeDistance(World worldIn,
BlockPos pos,
int distance,
EnumFacing calculateFlowCost) |
private int |
getSlopeFindDistance(World worldIn) |
private boolean |
isBlocked(World worldIn,
BlockPos pos,
IBlockState state) |
void |
onBlockAdded(World worldIn,
BlockPos pos,
IBlockState state) |
private void |
placeStaticBlock(World worldIn,
BlockPos pos,
IBlockState currentState) |
private void |
tryFlowInto(World worldIn,
BlockPos pos,
IBlockState state,
int level) |
void |
updateTick(World worldIn,
BlockPos pos,
IBlockState state,
java.util.Random rand) |
canCollideCheck, checkForMixing, createBlockState, getBlockFaceShape, getBlockLayer, getBlockLiquidHeight, getBlockLiquidHeight, getBoundingBox, getCollisionBoundingBox, getDepth, getFlow, getFlowingBlock, getFogColor, getItemDropped, getLiquidHeight, getLiquidHeightPercent, getMetaFromState, getPackedLightmapCoords, getRenderedDepth, getRenderType, getSlopeAngle, getStateFromMeta, getStaticBlock, isFullCube, isOpaqueCube, isPassable, modifyAcceleration, neighborChanged, quantityDropped, randomDisplayTick, shouldRenderSides, shouldSideBeRendered, tickRate, triggerMixEffects
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, observedNeighborChange, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, toString, withMirror, withRotation
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
protected BlockDynamicLiquid(Material materialIn)
private void placeStaticBlock(World worldIn, BlockPos pos, IBlockState currentState)
public void updateTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random rand)
updateTick
in class Block
private void tryFlowInto(World worldIn, BlockPos pos, IBlockState state, int level)
private int getSlopeDistance(World worldIn, BlockPos pos, int distance, EnumFacing calculateFlowCost)
private int getSlopeFindDistance(World worldIn)
private java.util.Set<EnumFacing> getPossibleFlowDirections(World worldIn, BlockPos pos)
private boolean isBlocked(World worldIn, BlockPos pos, IBlockState state)
protected int checkAdjacentBlock(World worldIn, BlockPos pos, int currentMinLevel)
private boolean canFlowInto(World worldIn, BlockPos pos, IBlockState state)
public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state)
onBlockAdded
in class BlockLiquid