Advanced-Portals/core/src/main/java/com/sekwah/advancedportals/core/data/PortalLocation.java

26 lines
548 B
Java
Raw Normal View History

2020-06-29 01:39:27 +02:00
package com.sekwah.advancedportals.core.data;
2018-02-02 11:38:31 +01:00
import com.google.gson.annotations.SerializedName;
public class PortalLocation {
2018-01-07 02:19:41 +01:00
2018-02-02 11:38:31 +01:00
@SerializedName("x")
2018-01-07 02:19:41 +01:00
public final int posX;
2020-06-29 01:39:27 +02:00
2018-02-02 11:38:31 +01:00
@SerializedName("y")
2018-01-07 02:19:41 +01:00
public final int posY;
2020-06-29 01:39:27 +02:00
2018-02-02 11:38:31 +01:00
@SerializedName("z")
2018-01-07 02:19:41 +01:00
public final int posZ;
2020-06-29 01:39:27 +02:00
2018-02-02 11:38:31 +01:00
@SerializedName("w")
2018-02-02 10:31:44 +01:00
public final String worldName;
2018-01-07 02:19:41 +01:00
2018-02-02 10:31:44 +01:00
public PortalLocation(String worldName, int posX, int posY, int posZ) {
this.worldName = worldName;
2018-01-07 02:19:41 +01:00
this.posX = posX;
this.posY = posY;
this.posZ = posZ;
}
}