Class GraveMenuHandlers
java.lang.Object
com.breakinblocks.graveless.event.GraveMenuHandlers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]captureTerrainSnapshot(net.minecraft.server.MinecraftServer server, DeathRecord record) static voidhandleAction(GravelessNetworking.GraveActionPayload payload, PayloadContext context) static voidhandleBackupListRequest(GravelessNetworking.BackupListRequestPayload payload, PayloadContext context) static voidhandleBackupRevive(GravelessNetworking.BackupRevivePayload payload, PayloadContext context) static voidhandleDetailRequest(GravelessNetworking.GraveDetailRequestPayload payload, PayloadContext context) static voidhandleExtract(GravelessNetworking.GraveExtractPayload payload, PayloadContext context) static voidhandleOpenRequest(GravelessNetworking.GraveOpenPayload payload, PayloadContext context) static voidhandleProfileAction(GravelessNetworking.ProfileActionPayload payload, PayloadContext context) static voidhandleViewRequest(GravelessNetworking.GraveViewRequestPayload payload, PayloadContext context) static voidopenFor(net.minecraft.server.level.ServerPlayer viewer) static voidstatic voidstatic DeathRecordreviveBackup(net.minecraft.server.MinecraftServer server, UUID ownerId, Path file)
-
Field Details
-
TERRAIN_SIZE
public static final int TERRAIN_SIZE- See Also:
-
TERRAIN_BELOW
public static final int TERRAIN_BELOW- See Also:
-
TERRAIN_ABOVE
public static final int TERRAIN_ABOVE- See Also:
-
TERRAIN_HEIGHT
public static final int TERRAIN_HEIGHT- See Also:
-
-
Method Details
-
openFor
public static void openFor(net.minecraft.server.level.ServerPlayer viewer) -
openFor
-
openFor
-
handleOpenRequest
public static void handleOpenRequest(GravelessNetworking.GraveOpenPayload payload, PayloadContext context) -
handleExtract
public static void handleExtract(GravelessNetworking.GraveExtractPayload payload, PayloadContext context) -
handleProfileAction
public static void handleProfileAction(GravelessNetworking.ProfileActionPayload payload, PayloadContext context) -
handleBackupListRequest
public static void handleBackupListRequest(GravelessNetworking.BackupListRequestPayload payload, PayloadContext context) -
handleBackupRevive
public static void handleBackupRevive(GravelessNetworking.BackupRevivePayload payload, PayloadContext context) -
reviveBackup
public static DeathRecord reviveBackup(net.minecraft.server.MinecraftServer server, UUID ownerId, Path file) -
handleViewRequest
public static void handleViewRequest(GravelessNetworking.GraveViewRequestPayload payload, PayloadContext context) -
handleDetailRequest
public static void handleDetailRequest(GravelessNetworking.GraveDetailRequestPayload payload, PayloadContext context) -
captureTerrainSnapshot
public static int[] captureTerrainSnapshot(net.minecraft.server.MinecraftServer server, DeathRecord record) -
handleAction
public static void handleAction(GravelessNetworking.GraveActionPayload payload, PayloadContext context)
-