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 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
open override fun arch$holder(): RegistryEntry<Block>
Link copied to clipboard
@Nullable
open fun arch$registryName(): @Nullable Identifier?
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
protected open fun canBucketPlace(state: BlockState, fluid: Fluid): 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
@Nullable
protected open fun createScreenHandlerFactory(state: BlockState, world: World, pos: BlockPos): NamedScreenHandlerFactory?
Link copied to clipboard
protected 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
protected open fun getAmbientOcclusionLightLevel(state: BlockState, world: BlockView, pos: BlockPos): Float
Link copied to clipboard
Link copied to clipboard
protected open fun getCameraCollisionShape(state: BlockState, world: BlockView, pos: BlockPos, context: ShapeContext): VoxelShape
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
protected open fun getFluidState(state: BlockState): FluidState
Link copied to clipboard
open fun getHardness(): Float
Link copied to clipboard
Link copied to clipboard
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
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
protected open fun getRenderType(state: BlockState): BlockRenderType
Link copied to clipboard
open override fun getRequiredFeatures(): FeatureSet
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
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
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
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
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
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
protected open fun isTransparent(state: BlockState, world: BlockView, pos: BlockPos): 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 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 onDestroyedByExplosion(world: World, pos: BlockPos, explosion: Explosion)
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 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
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
protected open fun scheduledTick(state: BlockState, world: ServerWorld, pos: BlockPos, random: Random)
Link copied to clipboard
Link copied to clipboard
protected open fun spawnBreakParticles(world: World, player: PlayerEntity, pos: BlockPos, state: BlockState)
Link copied to clipboard
open override fun toString(): String