程序包 org.bukkit.block

接口 SculkCatalyst

所有超级接口:
BlockState, Metadatable, PersistentDataHolder, TileState

public interface SculkCatalyst extends TileState
Represents a captured state of a sculk catalyst.
  • 方法详细资料

    • bloom

      void bloom(@NotNull @NotNull Block block, int charges)
      Causes a new sculk bloom, as if an entity just died around this catalyst.

      Typically, charges should be set to the exp reward of a mob (EntityDeathEvent.getDroppedExp()), which is usually 3-5 for animals, and 5-10 for the average mob (up to 50 for wither skeletons). Roughly speaking, for each charge, 1 more sculk block will be placed.

      If charges > 1000, multiple cursors will be spawned in the block.

      参数:
      block - which block to spawn the cursor in
      charges - how much charge to spawn.