public class StructureCache
extends java.lang.Object
Constructor and Description |
---|
StructureCache() |
Modifier and Type | Method and Description |
---|---|
static StructureModifier<java.lang.Object> |
getStructure(int id)
Retrieve a cached structure modifier for the given packet id.
|
static net.minecraft.server.Packet |
newPacket(int id)
Creates an empty Minecraft packet of the given ID.
|
public static net.minecraft.server.Packet newPacket(int id)
id
- - packet ID.public static StructureModifier<java.lang.Object> getStructure(int id)
id
- - packet ID.