public interface NucleusHomeEvent extends org.spongepowered.api.event.Cancellable, CancelMessageEvent, org.spongepowered.api.event.Event
Modifier and Type | Interface and Description |
---|---|
static interface |
NucleusHomeEvent.Create
Fired when a home is created.
|
static interface |
NucleusHomeEvent.Delete
Fired when a home is deleted.
|
static interface |
NucleusHomeEvent.Modify
Fired when a home is moved.
|
static interface |
NucleusHomeEvent.Use
Fired when a
User is warped to a home. |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<org.spongepowered.api.world.Location<org.spongepowered.api.world.World>> |
getLocation()
Gets the
Location of the home. |
java.lang.String |
getName()
Gets the name of the home.
|
org.spongepowered.api.entity.living.player.User |
getUser()
Gets the owner of the house
|
getCancelMessage, setCancelMessage
java.lang.String getName()
org.spongepowered.api.entity.living.player.User getUser()
java.util.Optional<org.spongepowered.api.world.Location<org.spongepowered.api.world.World>> getLocation()
Location
of the home.