public class BCFluidBlock
extends net.minecraftforge.fluids.BlockFluidClassic
flowCost, isOptimalFlowDirection, stack
defaultDisplacements, definedFluid, density, densityDir, displacements, FLOW_DIRECTION, FLUID_RENDER_PROPS, fluidName, LEVEL, LEVEL_CORNERS, maxScaledLight, quantaPerBlock, quantaPerBlockFloat, renderLayer, temperature, tickRate
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
Constructor and Description |
---|
BCFluidBlock(net.minecraftforge.fluids.Fluid fluid,
net.minecraft.block.material.Material material) |
Modifier and Type | Method and Description |
---|---|
int |
getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
int |
getFlammability(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
java.lang.Boolean |
isEntityInsideMaterial(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.Entity entity,
double yToTest,
net.minecraft.block.material.Material material,
boolean testingHead) |
void |
onEntityCollidedWithBlock(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.Entity entityIn) |
void |
setSticky(boolean sticky) |
calculateFlowCost, canCollideCheck, canDrain, canFlowInto, drain, flowIntoBlock, getLargerQuanta, getLightValue, getMaxRenderHeightMeta, getOptimalFlowDirections, getQuantaValue, isFlowingVertically, isSourceBlock, place, setFluidStack, setFluidStackAmount, updateTick
canDisplace, createBlockState, displaceIfPossible, getBlockLayer, getCollisionBoundingBox, getDensity, getExtendedState, getFilledPercentage, getFlowDirection, getFlowVector, getFluid, getFluidHeightAverage, getFluidHeightForRender, getFogColor, getItemDropped, getMetaFromState, getPackedLightmapCoords, getQuantaPercentage, getQuantaValueAbove, getQuantaValueBelow, getStateFromMeta, getTemperature, isFullCube, isOpaqueCube, isPassable, modifyAcceleration, neighborChanged, onBlockAdded, quantityDropped, requiresUpdates, setDensity, setMaxScaledLight, setQuantaPerBlock, setRenderLayer, setTemperature, setTickRate, shouldSideBeRendered, tickRate
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, 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, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTopSolid, isTranslucent, isWood, observedNeighborChange, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, toString, withMirror, withRotation
public BCFluidBlock(net.minecraftforge.fluids.Fluid fluid, net.minecraft.block.material.Material material)
public java.lang.Boolean isEntityInsideMaterial(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.entity.Entity entity, double yToTest, net.minecraft.block.material.Material material, boolean testingHead)
isEntityInsideMaterial
in class net.minecraft.block.Block
public int getFlammability(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing face)
getFlammability
in class net.minecraft.block.Block
public int getFireSpreadSpeed(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing face)
getFireSpreadSpeed
in class net.minecraft.block.Block
public void onEntityCollidedWithBlock(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.entity.Entity entityIn)
onEntityCollidedWithBlock
in class net.minecraft.block.Block
public void setSticky(boolean sticky)