public class SmartFluidPipeBlock extends net.minecraft.block.HorizontalFaceBlock implements IAxisPipe, IWrenchable
net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.PropertiesBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
SmartFluidPipeBlock(net.minecraft.block.AbstractBlock.Properties p_i48339_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSurvive(net.minecraft.block.BlockState p_196260_1_,
net.minecraft.world.IWorldReader p_196260_2_,
net.minecraft.util.math.BlockPos p_196260_3_) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
net.minecraft.util.Direction.Axis |
getAxis(net.minecraft.block.BlockState state) |
protected static net.minecraft.util.Direction.Axis |
getPipeAxis(net.minecraft.block.BlockState state) |
net.minecraft.util.math.shapes.VoxelShape |
getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader p_220053_2_,
net.minecraft.util.math.BlockPos p_220053_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220053_4_) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext ctx) |
boolean |
hasTileEntity(net.minecraft.block.BlockState state) |
static boolean |
isOpenAt(net.minecraft.block.BlockState state,
net.minecraft.util.Direction d) |
boolean |
isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type) |
void |
neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block otherBlock,
net.minecraft.util.math.BlockPos neighborPos,
boolean isMoving) |
void |
onPlace(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving) |
void |
onRemove(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoving) |
protected boolean |
prefersConnectionTo(net.minecraft.world.IWorldReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing) |
void |
tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos pos,
java.util.Random r) |
canAttach, getConnectedDirection, updateShapeanimateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isSignalSource, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAxisOfgetRotatedBlockState, onSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic SmartFluidPipeBlock(net.minecraft.block.AbstractBlock.Properties p_i48339_1_)
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext ctx)
getStateForPlacement in class net.minecraft.block.HorizontalFaceBlockprotected boolean prefersConnectionTo(net.minecraft.world.IWorldReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction facing)
public void onRemove(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoving)
onRemove in class net.minecraft.block.AbstractBlockpublic boolean canSurvive(net.minecraft.block.BlockState p_196260_1_,
net.minecraft.world.IWorldReader p_196260_2_,
net.minecraft.util.math.BlockPos p_196260_3_)
canSurvive in class net.minecraft.block.HorizontalFaceBlockpublic void onPlace(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving)
onPlace in class net.minecraft.block.AbstractBlockpublic void neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block otherBlock,
net.minecraft.util.math.BlockPos neighborPos,
boolean isMoving)
neighborChanged in class net.minecraft.block.AbstractBlockpublic static boolean isOpenAt(net.minecraft.block.BlockState state,
net.minecraft.util.Direction d)
public void tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos pos,
java.util.Random r)
tick in class net.minecraft.block.AbstractBlockprotected static net.minecraft.util.Direction.Axis getPipeAxis(net.minecraft.block.BlockState state)
public boolean hasTileEntity(net.minecraft.block.BlockState state)
hasTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockpublic net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world)
createTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockpublic net.minecraft.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader p_220053_2_,
net.minecraft.util.math.BlockPos p_220053_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220053_4_)
getShape in class net.minecraft.block.AbstractBlockpublic net.minecraft.util.Direction.Axis getAxis(net.minecraft.block.BlockState state)
public boolean isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type)
isPathfindable in class net.minecraft.block.AbstractBlock