public class BubbleColumnBlock extends Block implements IBucketPickupHandler
Block.OffsetType, Block.Properties, Block.RenderSideCacheKey| 修飾子とタイプ | フィールドと説明 |
|---|---|
static BooleanProperty |
DRAG |
BLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomlydelegate| コンストラクタと説明 |
|---|
BubbleColumnBlock(Block.Properties properties) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
animateTick(BlockState stateIn,
World worldIn,
BlockPos pos,
java.util.Random rand)
Called periodically clientside on blocks near the player to show effects (like furnace fire particles).
|
static boolean |
canHoldBubbleColumn(IWorld p_208072_0_,
BlockPos p_208072_1_) |
protected void |
fillStateContainer(StateContainer.Builder<Block,BlockState> builder) |
IFluidState |
getFluidState(BlockState state) |
BlockRenderType |
getRenderType(BlockState state)
非推奨です。
call via
IBlockState#getRenderType() whenever possible. Implementing/overriding is fine. |
VoxelShape |
getShape(BlockState state,
IBlockReader worldIn,
BlockPos pos,
ISelectionContext context) |
boolean |
isValidPosition(BlockState state,
IWorldReader worldIn,
BlockPos pos) |
void |
onBlockAdded(BlockState state,
World worldIn,
BlockPos pos,
BlockState oldState,
boolean isMoving) |
void |
onEntityCollision(BlockState state,
World worldIn,
BlockPos pos,
Entity entityIn) |
Fluid |
pickupFluid(IWorld worldIn,
BlockPos pos,
BlockState state) |
static void |
placeBubbleColumn(IWorld p_203159_0_,
BlockPos p_203159_1_,
boolean drag) |
void |
tick(BlockState state,
ServerWorld worldIn,
BlockPos pos,
java.util.Random rand) |
int |
tickRate(IWorldReader worldIn)
How many world ticks before ticking
|
BlockState |
updatePostPlacement(BlockState stateIn,
Direction facing,
BlockState facingState,
IWorld worldIn,
BlockPos currentPos,
BlockPos facingPos)
Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
|
addInformation, allowsMovement, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isReplaceable, isSideInvisible, isSolid, isTransparent, isVariableOpacity, isViewBlocking, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighborsgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic static final BooleanProperty DRAG
public BubbleColumnBlock(Block.Properties properties)
public void onEntityCollision(BlockState state, World worldIn, BlockPos pos, Entity entityIn)
onEntityCollision クラス内 Blockpublic void onBlockAdded(BlockState state, World worldIn, BlockPos pos, BlockState oldState, boolean isMoving)
onBlockAdded クラス内 Blockpublic void tick(BlockState state, ServerWorld worldIn, BlockPos pos, java.util.Random rand)
public IFluidState getFluidState(BlockState state)
getFluidState クラス内 Blockpublic static void placeBubbleColumn(IWorld p_203159_0_, BlockPos p_203159_1_, boolean drag)
public static boolean canHoldBubbleColumn(IWorld p_208072_0_, BlockPos p_208072_1_)
public int tickRate(IWorldReader worldIn)
public void animateTick(BlockState stateIn, World worldIn, BlockPos pos, java.util.Random rand)
randomTick and #needsRandomTick, and will always be called regardless
of whether the block can receive random update ticksanimateTick クラス内 Blockpublic BlockState updatePostPlacement(BlockState stateIn, Direction facing, BlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement クラス内 Blockpublic boolean isValidPosition(BlockState state, IWorldReader worldIn, BlockPos pos)
isValidPosition クラス内 Blockpublic VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context)
public BlockRenderType getRenderType(BlockState state)
IBlockState#getRenderType() whenever possible. Implementing/overriding is fine.getRenderType クラス内 Blockprotected void fillStateContainer(StateContainer.Builder<Block,BlockState> builder)
fillStateContainer クラス内 Blockpublic Fluid pickupFluid(IWorld worldIn, BlockPos pos, BlockState state)
pickupFluid インタフェース内 IBucketPickupHandler