1
0
Fork 0
The portal creating plugin for Minecraft.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
minecraftportal/src/main/proto/portal-save-data.proto

47 lines
928 B

syntax = "proto3";
package net.deliciousreya.minecraftportal;
option java_package = "net.deliciousreya.minecraftportal.proto";
option java_outer_classname = "PortalSaveDataProtos";
message Location {
string world_uuid = 1;
int32 x = 2;
int32 y = 3;
int32 z = 4;
}
message Portal {
enum Direction {
UNKNOWN_DIRECTION = 0;
NORTH = 1;
EAST = 2;
WEST = 3;
SOUTH = 4;
}
enum Mineral {
UNKNOWN_MINERAL = 0;
COAL = 1;
REDSTONE = 2;
LAPIS = 3;
GOLD = 4;
DIAMOND = 5;
EMERALD = 6;
IRON = 7;
QUARTZ = 8;
}
Location lower_left_front_corner = 1;
Direction exit_direction = 2;
Mineral mineral = 3;
}
message PortalPair {
Portal older = 1;
Portal newer = 2;
}
message PortalSaveData {
repeated PortalPair paired_portals = 1;
repeated Portal unpaired_portals = 2;
}