public class FluidTankBlock extends net.minecraft.block.Block implements IWrenchable, ITE<FluidTankTileEntity>
| Modifier and Type | Class and Description |
|---|---|
static class |
FluidTankBlock.Shape |
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.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
BOTTOM |
static net.minecraft.state.EnumProperty<FluidTankBlock.Shape> |
SHAPE |
static net.minecraft.block.SoundType |
SILENCED_METAL |
static net.minecraft.state.BooleanProperty |
TOP |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Modifier | Constructor and Description |
|---|---|
protected |
FluidTankBlock(net.minecraft.block.AbstractBlock.Properties p_i48440_1_,
boolean creative) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> p_206840_1_) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
static FluidTankBlock |
creative(net.minecraft.block.AbstractBlock.Properties p_i48440_1_) |
int |
getAnalogOutputSignal(net.minecraft.block.BlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
int |
getLightValue(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.block.SoundType |
getSoundType(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity) |
java.lang.Class<FluidTankTileEntity> |
getTileEntityClass() |
boolean |
hasAnalogOutputSignal(net.minecraft.block.BlockState state) |
boolean |
hasTileEntity(net.minecraft.block.BlockState state) |
static boolean |
isTank(net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState |
mirror(net.minecraft.block.BlockState state,
net.minecraft.util.Mirror mirror) |
void |
onPlace(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean moved) |
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) |
net.minecraft.util.ActionResultType |
onWrenched(net.minecraft.block.BlockState state,
net.minecraft.item.ItemUseContext context) |
static FluidTankBlock |
regular(net.minecraft.block.AbstractBlock.Properties p_i48440_1_) |
net.minecraft.block.BlockState |
rotate(net.minecraft.block.BlockState state,
net.minecraft.util.Rotation rotation) |
net.minecraft.util.ActionResultType |
use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult ray) |
animateTick, 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, getStateForPlacement, 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, canSurvive, defaultMaterialColor, entityInside, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, isAir, isEntityBlock, isPathfindable, isSignalSource, neighborChanged, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRotatedBlockState, onSneakWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedgetTileEntity, getTileEntityOptional, onTileEntityUse, withTileEntityDoaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getPickBlock, getRespawnPosition, getSlipperiness, 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 static final net.minecraft.state.BooleanProperty TOP
public static final net.minecraft.state.BooleanProperty BOTTOM
public static final net.minecraft.state.EnumProperty<FluidTankBlock.Shape> SHAPE
public static final net.minecraft.block.SoundType SILENCED_METAL
protected FluidTankBlock(net.minecraft.block.AbstractBlock.Properties p_i48440_1_,
boolean creative)
public static FluidTankBlock regular(net.minecraft.block.AbstractBlock.Properties p_i48440_1_)
public static FluidTankBlock creative(net.minecraft.block.AbstractBlock.Properties p_i48440_1_)
public static boolean isTank(net.minecraft.block.BlockState state)
public void onPlace(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean moved)
onPlace in class net.minecraft.block.AbstractBlockprotected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> p_206840_1_)
createBlockStateDefinition in class net.minecraft.block.Blockpublic int getLightValue(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos)
getLightValue in interface net.minecraftforge.common.extensions.IForgeBlockpublic net.minecraft.util.ActionResultType onWrenched(net.minecraft.block.BlockState state,
net.minecraft.item.ItemUseContext context)
onWrenched in interface IWrenchablepublic net.minecraft.util.ActionResultType use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult ray)
use in class net.minecraft.block.AbstractBlockpublic boolean hasTileEntity(net.minecraft.block.BlockState state)
hasTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockpublic 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 net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world)
createTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockpublic java.lang.Class<FluidTankTileEntity> getTileEntityClass()
getTileEntityClass in interface ITE<FluidTankTileEntity>public net.minecraft.block.BlockState mirror(net.minecraft.block.BlockState state,
net.minecraft.util.Mirror mirror)
mirror in class net.minecraft.block.AbstractBlockpublic net.minecraft.block.BlockState rotate(net.minecraft.block.BlockState state,
net.minecraft.util.Rotation rotation)
rotate in class net.minecraft.block.AbstractBlockpublic net.minecraft.block.SoundType getSoundType(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity)
getSoundType in interface net.minecraftforge.common.extensions.IForgeBlockpublic boolean hasAnalogOutputSignal(net.minecraft.block.BlockState state)
hasAnalogOutputSignal in class net.minecraft.block.AbstractBlockpublic int getAnalogOutputSignal(net.minecraft.block.BlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
getAnalogOutputSignal in class net.minecraft.block.AbstractBlock