Interface ResourceSpawnEvent<G extends Game,S extends ItemSpawner,T extends ItemSpawnerType,I extends org.screamingsandals.lib.utils.Wrapper,L extends org.screamingsandals.lib.utils.Wrapper>

All Superinterfaces:
BWCancellable

@NonExtendable public interface ResourceSpawnEvent<G extends Game,S extends ItemSpawner,T extends ItemSpawnerType,I extends org.screamingsandals.lib.utils.Wrapper,L extends org.screamingsandals.lib.utils.Wrapper> extends BWCancellable
  • Method Details

    • getGame

      G getGame()
    • getItemSpawner

      S getItemSpawner()
    • getLocation

      L getLocation()
    • getResource

      I getResource()
    • getType

      T getType()
    • setResource

      void setResource(Object resource)
      Parameters:
      resource - wrapper or platform ItemStack
    • handle

      static void handle(Object plugin, Consumer<ResourceSpawnEvent<Game,ItemSpawner,ItemSpawnerType,org.screamingsandals.lib.utils.Wrapper,org.screamingsandals.lib.utils.Wrapper>> consumer)