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
Link copied to clipboard
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Inherited functions
Link copied to clipboard
public Boolean addLandingEffects(BlockState state1, ServerWorld level, BlockPos pos, BlockState state2, LivingEntity entity, Integer numberOfParticles)
Link copied to clipboard
Link copied to clipboard
public Unit afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable() BlockEntity blockEntity, ItemStack tool)
Link copied to clipboard
public Unit appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options)
Link copied to clipboard
protected Float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
Link copied to clipboard
public Boolean canBeHydrated(BlockState state, BlockView getter, BlockPos pos, FluidState fluid, BlockPos fluidPos)
Link copied to clipboard
Link copied to clipboard
public Boolean canConnectRedstone(BlockState state, BlockView level, BlockPos pos, @Nullable() @Nullable() Direction direction)
Link copied to clipboard
public Boolean canDropFromExplosion(BlockState state, BlockView level, BlockPos pos, Explosion explosion)
Link copied to clipboard
Link copied to clipboard
public Boolean canHarvestBlock(BlockState state, BlockView level, BlockPos pos, PlayerEntity player)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean canSustainPlant(BlockState state, BlockView world, BlockPos pos, Direction facing, IPlantable plantable)
Link copied to clipboard
public Boolean collisionExtendsVertically(BlockState state, BlockView level, BlockPos pos, Entity collidingEntity)
Link copied to clipboard
@Nullable()
Link copied to clipboard
Link copied to clipboard
protected Unit dropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience)
Link copied to clipboard
Link copied to clipboard
@Nullable()
Link copied to clipboard
Link copied to clipboard
public BlockState getAppearance(BlockState state, BlockRenderView level, BlockPos pos, Direction side, @Nullable() @Nullable() BlockState queryState, @Nullable() @Nullable() BlockPos queryPos)
Link copied to clipboard
@Nullable()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Nullable()
Link copied to clipboard
protected VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Link copied to clipboard
public ItemStack getCloneItemStack(BlockState state, HitResult target, WorldView level, BlockPos pos, PlayerEntity player)
Link copied to clipboard
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected List<ItemStack> getDroppedStacks(BlockState state, LootContextParameterSet.Builder builder)
Link copied to clipboard
Link copied to clipboard
public Integer getExpDrop(BlockState state, WorldView level, Random randomSource, BlockPos pos, Integer fortuneLevel, Integer silkTouchLevel)
Link copied to clipboard
public Float getExplosionResistance(BlockState state, BlockView level, BlockPos pos, Explosion explosion)
Link copied to clipboard
public Integer getFireSpreadSpeed(BlockState state, BlockView level, BlockPos pos, Direction direction)
Link copied to clipboard
public Integer getFlammability(BlockState state, BlockView level, BlockPos pos, Direction direction)
Link copied to clipboard
Link copied to clipboard
public Float getFriction(BlockState state, WorldView level, BlockPos pos, @Nullable() @Nullable() Entity entity)
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Optional<Vec3d> getRespawnPosition(BlockState state, EntityType<?> type, WorldView levelReader, BlockPos pos, Float orientation, @Nullable() @Nullable() LivingEntity entity)
Link copied to clipboard
Link copied to clipboard
protected ImmutableMap<BlockState, VoxelShape> getShapesForStates(Function<BlockState, VoxelShape> stateToShape)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public BlockSoundGroup getSoundType(BlockState state, WorldView level, BlockPos pos, @Nullable() Entity entity)
Link copied to clipboard
public BlockState getStateAtViewpoint(BlockState state, BlockView level, BlockPos pos, Vec3d viewpoint)
Link copied to clipboard
protected BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Integer getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
Link copied to clipboard
@Nullable()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Integer getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean hidesNeighborFace(BlockView level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir)
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
Link copied to clipboard
Link copied to clipboard
public Boolean isValidSpawn(BlockState state, BlockView level, BlockPos pos, SpawnLocation type, EntityType<?> entityType)
Link copied to clipboard
public Boolean makesOpenTrapdoorAboveClimbable(BlockState state, WorldView level, BlockPos pos, BlockState trapdoorState)
Link copied to clipboard
protected Unit neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, Boolean notify)
Link copied to clipboard
protected Unit onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, Boolean notify)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit onBlockStateChange(WorldView level, BlockPos pos, BlockState oldState, BlockState newState)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit onCaughtFire(BlockState state, World level, BlockPos pos, @Nullable() @Nullable() Direction direction, @Nullable() @Nullable() LivingEntity igniter)
Link copied to clipboard
Link copied to clipboard
public Boolean onDestroyedByPlayer(BlockState state, World level, BlockPos pos, PlayerEntity player, Boolean willHarvest, FluidState fluid)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Unit onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger)
Link copied to clipboard
public Unit onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, Float fallDistance)
Link copied to clipboard
Link copied to clipboard
public Unit onPlaced(World world, BlockPos pos, BlockState state, @Nullable() LivingEntity placer, ItemStack itemStack)
Link copied to clipboard
protected Unit onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
Link copied to clipboard
protected Unit onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, Boolean dropExperience)
Link copied to clipboard
protected Unit onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, Boolean moved)
Link copied to clipboard
Link copied to clipboard
protected Boolean onSyncedBlockEvent(BlockState state, World world, BlockPos pos, Integer type, Integer data)
Link copied to clipboard
public Boolean onTreeGrow(BlockState state, WorldView level, BiConsumer<BlockPos, BlockState> placeFunction, Random randomSource, BlockPos pos, TreeFeatureConfig config)
Link copied to clipboard
protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit)
Link copied to clipboard
protected ItemActionResult onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Link copied to clipboard
public Unit precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)
Link copied to clipboard
protected Unit prepare(BlockState state, WorldAccess world, BlockPos pos, Integer flags, Integer maxUpdateDepth)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public BlockState rotate(BlockState state, WorldAccess level, BlockPos pos, BlockRotation direction)
Link copied to clipboard
Link copied to clipboard
public Unit setBedOccupied(BlockState state, World level, BlockPos pos, LivingEntity sleeper, Boolean occupied)
Link copied to clipboard
Link copied to clipboard
public Boolean shouldCheckWeakPower(BlockState state, RedstoneView level, BlockPos pos, Direction side)
Link copied to clipboard
public Boolean shouldDisplayFluidOverlay(BlockState state, BlockRenderView level, BlockPos pos, FluidState fluidState)
Link copied to clipboard
Link copied to clipboard
protected Unit spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)
Link copied to clipboard