public class TumblestoneBlock
extends net.minecraft.block.Block
implements net.minecraft.block.IWaterLoggable
net.minecraft.block.Block.RenderSideCacheKey
net.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.IntegerProperty |
AGE |
static net.minecraft.state.IntegerProperty |
DESTROYED |
static net.minecraft.state.BooleanProperty |
WATERLOGGED |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Constructor and Description |
---|
TumblestoneBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
addDestroyEffects(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager manager) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> p_206840_1_) |
float |
getDestroyProgress(net.minecraft.block.BlockState state,
net.minecraft.entity.player.PlayerEntity p_180647_2_,
net.minecraft.world.IBlockReader p_180647_3_,
net.minecraft.util.math.BlockPos p_180647_4_) |
net.minecraft.fluid.FluidState |
getFluidState(net.minecraft.block.BlockState p_204507_1_) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.BlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player) |
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 context) |
void |
randomTick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld level,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
boolean |
removedByPlayer(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
boolean willHarvest,
net.minecraft.fluid.FluidState fluid) |
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, 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, wasExploded
attack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canPlaceLiquid, placeLiquid, takeLiquid
addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public static final net.minecraft.state.IntegerProperty AGE
public static final net.minecraft.state.BooleanProperty WATERLOGGED
public static final net.minecraft.state.IntegerProperty DESTROYED
public boolean addDestroyEffects(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.client.particle.ParticleManager manager)
addDestroyEffects
in interface net.minecraftforge.common.extensions.IForgeBlock
public net.minecraft.item.ItemStack getPickBlock(net.minecraft.block.BlockState state, net.minecraft.util.math.RayTraceResult target, net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player)
getPickBlock
in interface net.minecraftforge.common.extensions.IForgeBlock
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> p_206840_1_)
createBlockStateDefinition
in class net.minecraft.block.Block
public net.minecraft.fluid.FluidState getFluidState(net.minecraft.block.BlockState p_204507_1_)
getFluidState
in class net.minecraft.block.AbstractBlock
public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement
in class net.minecraft.block.Block
public void randomTick(net.minecraft.block.BlockState state, net.minecraft.world.server.ServerWorld level, net.minecraft.util.math.BlockPos pos, java.util.Random rand)
randomTick
in class net.minecraft.block.AbstractBlock
public boolean removedByPlayer(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player, boolean willHarvest, net.minecraft.fluid.FluidState fluid)
removedByPlayer
in interface net.minecraftforge.common.extensions.IForgeBlock
public float getDestroyProgress(net.minecraft.block.BlockState state, net.minecraft.entity.player.PlayerEntity p_180647_2_, net.minecraft.world.IBlockReader p_180647_3_, net.minecraft.util.math.BlockPos p_180647_4_)
getDestroyProgress
in class net.minecraft.block.AbstractBlock
public 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.AbstractBlock