TreasureChestOpeningEvent.java
package com.hypixel.hytale.builtin.adventure.objectives.events;
import com.hypixel.hytale.component.Ref;
import com.hypixel.hytale.component.Store;
import com.hypixel.hytale.event.IEvent;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import java.util.UUID;
import javax.annotation.Nonnull;
public class TreasureChestOpeningEvent implements IEvent<String> {
@Nonnull
private final UUID objectiveUUID;
@Nonnull
private final UUID chestUUID;
@Nonnull
private final Ref<EntityStore> playerRef;
@Nonnull
private final Store<EntityStore> store;
public TreasureChestOpeningEvent(@Nonnull UUID objectiveUUID, @Nonnull UUID chestUUID, @Nonnull Ref<EntityStore> playerRef, @Nonnull Store<EntityStore> store) {
this.objectiveUUID = objectiveUUID;
this.chestUUID = chestUUID;
this.playerRef = playerRef;
this.store = store;
}
@Nonnull
UUID {
.objectiveUUID;
}
UUID {
.chestUUID;
}
Ref<EntityStore> {
.playerRef;
}
Store<EntityStore> {
.store;
}
String {
String.valueOf(.objectiveUUID);
+ var10000 + + String.valueOf(.chestUUID) + + String.valueOf(.playerRef) + ;
}
}