CrownBlock

A crown placed on the ground.

Constructors

Link copied to clipboard
constructor(settings: AbstractBlock.Settings)

Inherited properties

Link copied to clipboard
protected val collidable: Boolean
Link copied to clipboard
Link copied to clipboard
protected val dynamicBounds: Boolean
Link copied to clipboard
Link copied to clipboard
@Nullable
protected var lootTableKey: RegistryKey<LootTable>?
Link copied to clipboard
protected val randomTicks: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected val resistance: Float
Link copied to clipboard
Link copied to clipboard
protected val slipperiness: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected val velocityMultiplier: Float

Functions

Link copied to clipboard
protected open override fun appendProperties(builder: StateManager.Builder<Block, BlockState>)
Link copied to clipboard
protected open override fun canPathfindThrough(state: BlockState?, type: NavigationType?): Boolean
Link copied to clipboard
protected open override fun getCullingShape(state: BlockState?, world: BlockView?, pos: BlockPos?): VoxelShape
Link copied to clipboard
protected open override fun getOutlineShape(state: BlockState, world: BlockView, pos: BlockPos, context: ShapeContext): VoxelShape
Link copied to clipboard
Link copied to clipboard
open override fun getTranslationKey(): String
Link copied to clipboard
protected open override fun mirror(state: BlockState, mirror: BlockMirror): BlockState
Link copied to clipboard
protected open override fun rotate(state: BlockState, rotation: BlockRotation): BlockState

Inherited functions

Link copied to clipboard
open fun addLandingEffects(state1: BlockState, level: ServerWorld, pos: BlockPos, state2: BlockState, entity: LivingEntity, numberOfParticles: Int): Boolean
Link copied to clipboard
open fun addRunningEffects(state: BlockState, level: World, pos: BlockPos, entity: Entity): Boolean
Link copied to clipboard
open fun afterBreak(world: World, player: PlayerEntity, pos: BlockPos, state: BlockState, @Nullable blockEntity: BlockEntity?, tool: ItemStack)
Link copied to clipboard
open fun appendTooltip(stack: ItemStack, context: Item.TooltipContext, tooltip: MutableList<Text>, options: TooltipType)
Link copied to clipboard
protected open override fun asBlock(): Block
Link copied to clipboard
open override fun asItem(): Item
Link copied to clipboard
protected open fun calcBlockBreakingDelta(state: BlockState, player: PlayerEntity, world: BlockView, pos: BlockPos): Float
Link copied to clipboard
open fun canBeHydrated(state: BlockState, getter: BlockView, pos: BlockPos, fluid: FluidState, fluidPos: BlockPos): Boolean
Link copied to clipboard
protected open fun canBucketPlace(state: BlockState, fluid: Fluid): Boolean
Link copied to clipboard
open fun canConnectRedstone(state: BlockState, level: BlockView, pos: BlockPos, @Nullable direction: @Nullable Direction?): Boolean
Link copied to clipboard
open fun canDropFromExplosion(state: BlockState, level: BlockView, pos: BlockPos, explosion: Explosion): Boolean
Link copied to clipboard
open fun canEntityDestroy(state: BlockState, level: BlockView, pos: BlockPos, entity: Entity): Boolean
Link copied to clipboard
open fun canHarvestBlock(state: BlockState, level: BlockView, pos: BlockPos, player: PlayerEntity): Boolean
Link copied to clipboard
Link copied to clipboard
protected open fun canPlaceAt(state: BlockState, world: WorldView, pos: BlockPos): Boolean
Link copied to clipboard
protected open fun canReplace(state: BlockState, context: ItemPlacementContext): Boolean
Link copied to clipboard
open fun canStickTo(state: BlockState, other: BlockState): Boolean
Link copied to clipboard
open override fun canSustainPlant(state: BlockState, world: BlockView, pos: BlockPos, facing: Direction, plantable: IPlantable): Boolean
Link copied to clipboard
open fun collisionExtendsVertically(state: BlockState, level: BlockView, pos: BlockPos, collidingEntity: Entity): Boolean
Link copied to clipboard
@Nullable
protected open fun createScreenHandlerFactory(state: BlockState, world: World, pos: BlockPos): NamedScreenHandlerFactory?
Link copied to clipboard
open fun dropExperience(world: ServerWorld, pos: BlockPos, size: Int)
Link copied to clipboard
protected open fun dropExperienceWhenMined(world: ServerWorld, pos: BlockPos, tool: ItemStack, experience: IntProvider)
Link copied to clipboard
protected open fun emitsRedstonePower(state: BlockState): Boolean
Link copied to clipboard
@Nullable
open fun getAdjacentBlockPathType(state: BlockState, level: BlockView, pos: BlockPos, @Nullable mob: @Nullable MobEntity?, originalType: PathNodeType): @Nullable PathNodeType?
Link copied to clipboard
protected open fun getAmbientOcclusionLightLevel(state: BlockState, world: BlockView, pos: BlockPos): Float
Link copied to clipboard
open fun getAppearance(state: BlockState, level: BlockRenderView, pos: BlockPos, side: Direction, @Nullable queryState: @Nullable BlockState?, @Nullable queryPos: @Nullable BlockPos?): BlockState
Link copied to clipboard
@Nullable
open fun getBeaconColorMultiplier(state: BlockState, level: WorldView, pos: BlockPos, beaconPos: BlockPos): Int
Link copied to clipboard
open fun getBedDirection(state: BlockState, level: WorldView, pos: BlockPos): Direction
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getBlockPathType(state: BlockState, level: BlockView, pos: BlockPos, @Nullable mob: @Nullable MobEntity?): @Nullable PathNodeType?
Link copied to clipboard
protected open fun getCameraCollisionShape(state: BlockState, world: BlockView, pos: BlockPos, context: ShapeContext): VoxelShape
Link copied to clipboard
open fun getCloneItemStack(state: BlockState, target: HitResult, level: WorldView, pos: BlockPos, player: PlayerEntity): ItemStack
Link copied to clipboard
protected open override fun getCodec(): MapCodec<out Block>
Link copied to clipboard
protected open fun getCollisionShape(state: BlockState, world: BlockView, pos: BlockPos, context: ShapeContext): VoxelShape
Link copied to clipboard
protected open fun getComparatorOutput(state: BlockState, world: World, pos: BlockPos): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getEnchantPowerBonus(state: BlockState, level: WorldView, pos: BlockPos): Float
Link copied to clipboard
open fun getExpDrop(state: BlockState, level: WorldView, randomSource: Random, pos: BlockPos, fortuneLevel: Int, silkTouchLevel: Int): Int
Link copied to clipboard
open fun getExplosionResistance(state: BlockState, level: BlockView, pos: BlockPos, explosion: Explosion): Float
Link copied to clipboard
open fun getFireSpreadSpeed(state: BlockState, level: BlockView, pos: BlockPos, direction: Direction): Int
Link copied to clipboard
open fun getFlammability(state: BlockState, level: BlockView, pos: BlockPos, direction: Direction): Int
Link copied to clipboard
protected open fun getFluidState(state: BlockState): FluidState
Link copied to clipboard
open fun getFriction(state: BlockState, level: WorldView, pos: BlockPos, @Nullable entity: @Nullable Entity?): Float
Link copied to clipboard
open fun getHardness(): Float
Link copied to clipboard
Link copied to clipboard
open fun getLightEmission(state: BlockState, level: BlockView, pos: BlockPos): Int
Link copied to clipboard
Link copied to clipboard
open fun getMapColor(state: BlockState, level: BlockView, pos: BlockPos, defaultColor: MapColor): MapColor
Link copied to clipboard
protected open fun getMaxHorizontalModelOffset(): Float
Link copied to clipboard
open fun getName(): MutableText
Link copied to clipboard
protected open fun getOpacity(state: BlockState, world: BlockView, pos: BlockPos): Int
Link copied to clipboard
open fun getPickStack(world: WorldView, pos: BlockPos, state: BlockState): ItemStack
Link copied to clipboard
@Nullable
open fun getPistonPushReaction(state: BlockState): @Nullable PistonBehavior?
Link copied to clipboard
protected open fun getRaycastShape(state: BlockState, world: BlockView, pos: BlockPos): VoxelShape
Link copied to clipboard
protected open fun getRenderingSeed(state: BlockState, pos: BlockPos): Long
Link copied to clipboard
Link copied to clipboard
protected open fun getRenderType(state: BlockState): BlockRenderType
Link copied to clipboard
open override fun getRequiredFeatures(): FeatureSet
Link copied to clipboard
open fun getRespawnPosition(state: BlockState, type: EntityType<*>, levelReader: WorldView, pos: BlockPos, orientation: Float, @Nullable entity: @Nullable LivingEntity?): Optional<Vec3d>
Link copied to clipboard
Link copied to clipboard
protected open fun getShapesForStates(stateToShape: Function<BlockState, VoxelShape>): ImmutableMap<BlockState, VoxelShape>
Link copied to clipboard
protected open fun getSidesShape(state: BlockState, world: BlockView, pos: BlockPos): VoxelShape
Link copied to clipboard
Link copied to clipboard
protected open fun getSoundGroup(state: BlockState): BlockSoundGroup
Link copied to clipboard
open override fun getSoundType(state: BlockState, level: WorldView, pos: BlockPos, @Nullable entity: Entity?): BlockSoundGroup
Link copied to clipboard
open fun getStateAtViewpoint(state: BlockState, level: BlockView, pos: BlockPos, viewpoint: Vec3d): BlockState
Link copied to clipboard
protected open fun getStateForNeighborUpdate(state: BlockState, direction: Direction, neighborState: BlockState, world: WorldAccess, pos: BlockPos, neighborPos: BlockPos): BlockState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun getStrongRedstonePower(state: BlockState, world: BlockView, pos: BlockPos, direction: Direction): Int
Link copied to clipboard
@Nullable
open fun getToolModifiedState(state: BlockState, context: ItemUsageContext, toolAction: ToolAction, simulate: Boolean): @Nullable BlockState?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getWeakChanges(state: BlockState, level: WorldView, pos: BlockPos): Boolean
Link copied to clipboard
protected open fun getWeakRedstonePower(state: BlockState, world: BlockView, pos: BlockPos, direction: Direction): Int
Link copied to clipboard
protected open fun hasComparatorOutput(state: BlockState): Boolean
Link copied to clipboard
Link copied to clipboard
protected open fun hasRandomTicks(state: BlockState): Boolean
Link copied to clipboard
protected open fun hasSidedTransparency(state: BlockState): Boolean
Link copied to clipboard
open fun hidesNeighborFace(level: BlockView, pos: BlockPos, state: BlockState, neighborState: BlockState, dir: Direction): Boolean
Link copied to clipboard
open fun initializeClient(consumer: Consumer<IClientBlockExtensions>)
Link copied to clipboard
protected open fun isAir(state: BlockState): Boolean
Link copied to clipboard
open fun isBed(state: BlockState, level: BlockView, pos: BlockPos, @Nullable player: @Nullable Entity?): Boolean
Link copied to clipboard
open fun isBurning(state: BlockState, level: BlockView, pos: BlockPos): Boolean
Link copied to clipboard
open fun isConduitFrame(state: BlockState, level: WorldView, pos: BlockPos, conduit: BlockPos): Boolean
Link copied to clipboard
protected open fun isCullingShapeFullCube(state: BlockState, world: BlockView, pos: BlockPos): Boolean
Link copied to clipboard
open fun isEnabled(enabledFeatures: FeatureSet): Boolean
Link copied to clipboard
open fun isFertile(state: BlockState, level: BlockView, pos: BlockPos): Boolean
Link copied to clipboard
open fun isFireSource(state: BlockState, level: WorldView, pos: BlockPos, direction: Direction): Boolean
Link copied to clipboard
open fun isFlammable(state: BlockState, level: BlockView, pos: BlockPos, direction: Direction): Boolean
Link copied to clipboard
open fun isLadder(state: BlockState, level: WorldView, pos: BlockPos, entity: LivingEntity): Boolean
Link copied to clipboard
open fun isPortalFrame(state: BlockState, level: BlockView, pos: BlockPos): Boolean
Link copied to clipboard
open fun isScaffolding(state: BlockState, level: WorldView, pos: BlockPos, entity: LivingEntity): Boolean
Link copied to clipboard
protected open fun isShapeFullCube(state: BlockState, world: BlockView, pos: BlockPos): Boolean
Link copied to clipboard
protected open fun isSideInvisible(state: BlockState, stateFrom: BlockState, direction: Direction): Boolean
Link copied to clipboard
open fun isSlimeBlock(state: BlockState): Boolean
Link copied to clipboard
open fun isStickyBlock(state: BlockState): Boolean
Link copied to clipboard
protected open fun isTransparent(state: BlockState, world: BlockView, pos: BlockPos): Boolean
Link copied to clipboard
open fun isValidSpawn(state: BlockState, level: BlockView, pos: BlockPos, type: SpawnLocation, entityType: EntityType<*>): Boolean
Link copied to clipboard
open fun makesOpenTrapdoorAboveClimbable(state: BlockState, level: WorldView, pos: BlockPos, trapdoorState: BlockState): Boolean
Link copied to clipboard
protected open fun neighborUpdate(state: BlockState, world: World, pos: BlockPos, sourceBlock: Block, sourcePos: BlockPos, notify: Boolean)
Link copied to clipboard
protected open fun onBlockAdded(state: BlockState, world: World, pos: BlockPos, oldState: BlockState, notify: Boolean)
Link copied to clipboard
protected open fun onBlockBreakStart(state: BlockState, world: World, pos: BlockPos, player: PlayerEntity)
Link copied to clipboard
open fun onBlockExploded(state: BlockState, level: World, pos: BlockPos, explosion: Explosion)
Link copied to clipboard
open fun onBlockStateChange(level: WorldView, pos: BlockPos, oldState: BlockState, newState: BlockState)
Link copied to clipboard
open fun onBreak(world: World, pos: BlockPos, state: BlockState, player: PlayerEntity): BlockState
Link copied to clipboard
open fun onBroken(world: WorldAccess, pos: BlockPos, state: BlockState)
Link copied to clipboard
open fun onCaughtFire(state: BlockState, level: World, pos: BlockPos, @Nullable direction: @Nullable Direction?, @Nullable igniter: @Nullable LivingEntity?)
Link copied to clipboard
open fun onDestroyedByExplosion(world: World, pos: BlockPos, explosion: Explosion)
Link copied to clipboard
open fun onDestroyedByPlayer(state: BlockState, level: World, pos: BlockPos, player: PlayerEntity, willHarvest: Boolean, fluid: FluidState): Boolean
Link copied to clipboard
protected open fun onEntityCollision(state: BlockState, world: World, pos: BlockPos, entity: Entity)
Link copied to clipboard
open fun onEntityLand(world: BlockView, entity: Entity)
Link copied to clipboard
protected open fun onExploded(state: BlockState, world: World, pos: BlockPos, explosion: Explosion, stackMerger: BiConsumer<ItemStack, BlockPos>)
Link copied to clipboard
open fun onLandedUpon(world: World, state: BlockState, pos: BlockPos, entity: Entity, fallDistance: Float)
Link copied to clipboard
open fun onNeighborChange(state: BlockState, level: WorldView, pos: BlockPos, neighbor: BlockPos)
Link copied to clipboard
open fun onPlaced(world: World, pos: BlockPos, state: BlockState, @Nullable placer: LivingEntity?, itemStack: ItemStack)
Link copied to clipboard
protected open fun onProjectileHit(world: World, state: BlockState, hit: BlockHitResult, projectile: ProjectileEntity)
Link copied to clipboard
protected open fun onStacksDropped(state: BlockState, world: ServerWorld, pos: BlockPos, tool: ItemStack, dropExperience: Boolean)
Link copied to clipboard
protected open fun onStateReplaced(state: BlockState, world: World, pos: BlockPos, newState: BlockState, moved: Boolean)
Link copied to clipboard
open fun onSteppedOn(world: World, pos: BlockPos, state: BlockState, entity: Entity)
Link copied to clipboard
protected open fun onSyncedBlockEvent(state: BlockState, world: World, pos: BlockPos, type: Int, data: Int): Boolean
Link copied to clipboard
open fun onTreeGrow(state: BlockState, level: WorldView, placeFunction: BiConsumer<BlockPos, BlockState>, randomSource: Random, pos: BlockPos, config: TreeFeatureConfig): Boolean
Link copied to clipboard
protected open fun onUse(state: BlockState, world: World, pos: BlockPos, player: PlayerEntity, hit: BlockHitResult): ActionResult
Link copied to clipboard
protected open fun onUseWithItem(stack: ItemStack, state: BlockState, world: World, pos: BlockPos, player: PlayerEntity, hand: Hand, hit: BlockHitResult): ItemActionResult
Link copied to clipboard
open fun precipitationTick(state: BlockState, world: World, pos: BlockPos, precipitation: Biome.Precipitation)
Link copied to clipboard
protected open fun prepare(state: BlockState, world: WorldAccess, pos: BlockPos, flags: Int, maxUpdateDepth: Int)
Link copied to clipboard
open fun randomDisplayTick(state: BlockState, world: World, pos: BlockPos, random: Random)
Link copied to clipboard
protected open fun randomTick(state: BlockState, world: ServerWorld, pos: BlockPos, random: Random)
Link copied to clipboard
open fun rotate(state: BlockState, level: WorldAccess, pos: BlockPos, direction: BlockRotation): BlockState
Link copied to clipboard
protected open fun scheduledTick(state: BlockState, world: ServerWorld, pos: BlockPos, random: Random)
Link copied to clipboard
open fun setBedOccupied(state: BlockState, level: World, pos: BlockPos, sleeper: LivingEntity, occupied: Boolean)
Link copied to clipboard
open fun shouldCheckWeakPower(state: BlockState, level: RedstoneView, pos: BlockPos, side: Direction): Boolean
Link copied to clipboard
open fun shouldDisplayFluidOverlay(state: BlockState, level: BlockRenderView, pos: BlockPos, fluidState: FluidState): Boolean
Link copied to clipboard
Link copied to clipboard
protected open fun spawnBreakParticles(world: World, player: PlayerEntity, pos: BlockPos, state: BlockState)
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String