public class ServerSchematicLoader
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ServerSchematicLoader.SchematicUploadEntry |
| Constructor and Description |
|---|
ServerSchematicLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelUpload(java.lang.String playerSchematicId) |
CSchematics |
getConfig() |
java.lang.String |
getSchematicPath() |
SchematicTableTileEntity |
getTable(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
void |
handleFinishedUpload(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic) |
void |
handleInstantSchematic(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos bounds) |
void |
handleNewUpload(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic,
long size,
net.minecraft.util.math.BlockPos pos) |
void |
handleWriteRequest(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic,
byte[] data) |
void |
shutdown() |
void |
tick() |
protected boolean |
validateSchematicSizeOnServer(net.minecraft.entity.player.ServerPlayerEntity player,
long size) |
public java.lang.String getSchematicPath()
public void tick()
public void shutdown()
public void handleNewUpload(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic,
long size,
net.minecraft.util.math.BlockPos pos)
protected boolean validateSchematicSizeOnServer(net.minecraft.entity.player.ServerPlayerEntity player,
long size)
public CSchematics getConfig()
public void handleWriteRequest(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic,
byte[] data)
protected void cancelUpload(java.lang.String playerSchematicId)
public SchematicTableTileEntity getTable(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
public void handleFinishedUpload(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic)
public void handleInstantSchematic(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String schematic,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos bounds)