Crown Block
A crown placed on the ground.
Inherited properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
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
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 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
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
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
protected open fun dropExperienceWhenMined(world: ServerWorld, pos: BlockPos, tool: ItemStack, experience: IntProvider)
Link copied to clipboard
Link copied to clipboard
@Nullable
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Nullable
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 fun getCollisionShape(state: BlockState, world: BlockView, pos: BlockPos, context: ShapeContext): VoxelShape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun getDroppedStacks(state: BlockState, builder: LootContextParameterSet.Builder): MutableList<ItemStack>
Link copied to clipboard
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
Link copied to clipboard
open fun getFriction(state: BlockState, level: WorldView, pos: BlockPos, @Nullable entity: @Nullable Entity?): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMapColor(state: BlockState, level: BlockView, pos: BlockPos, defaultColor: MapColor): MapColor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun getWeakRedstonePower(state: BlockState, world: BlockView, pos: BlockPos, direction: Direction): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hidesNeighborFace(level: BlockView, pos: BlockPos, state: BlockState, neighborState: BlockState, dir: Direction): Boolean
Link copied to clipboard
Link copied to clipboard
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
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
Link copied to clipboard
open fun isScaffolding(state: BlockState, level: WorldView, pos: BlockPos, entity: LivingEntity): Boolean
Link copied to clipboard
Link copied to clipboard
protected open fun isSideInvisible(state: BlockState, stateFrom: BlockState, direction: Direction): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
open fun onBlockStateChange(level: WorldView, pos: BlockPos, oldState: BlockState, newState: BlockState)
Link copied to clipboard
Link copied to clipboard
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
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
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
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
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
Link copied to clipboard
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