Skip to content

Commit

Permalink
fix advancement triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Faithcaio committed Dec 5, 2023
1 parent c5e0e38 commit 81595cb
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import org.spongepowered.api.Engine;
import org.spongepowered.api.ResourceKey;
import org.spongepowered.api.event.GenericEvent;
import org.spongepowered.api.registry.DefaultedRegistryValue;
import org.spongepowered.api.registry.Registry;
import org.spongepowered.api.registry.RegistryType;

public interface RegisterRegistryValueEvent extends LifecycleEvent {
Expand All @@ -38,6 +40,11 @@ interface RegistryStep<T> {
RegistryStep<T> register(ResourceKey key, T value);
}

interface BuiltIn<T extends DefaultedRegistryValue> extends LifecycleEvent {

RegistryStep<T> registry(RegistryType<T> registryType);
}

interface GameScoped extends RegisterRegistryValueEvent {
}

Expand Down

0 comments on commit 81595cb

Please sign in to comment.