public static class FMLPlayMessages.DimensionInfoMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
dimName |
private PacketBuffer |
extraData |
private int |
id |
private ResourceLocation |
modDimensionName |
private boolean |
skylight |
Constructor and Description |
---|
DimensionInfoMessage(DimensionType type) |
DimensionInfoMessage(int dimId,
ResourceLocation dimname,
ResourceLocation modDimensionName,
boolean skylight,
PacketBuffer extraData) |
Modifier and Type | Method and Description |
---|---|
static FMLPlayMessages.DimensionInfoMessage |
decode(PacketBuffer buffer) |
static void |
encode(FMLPlayMessages.DimensionInfoMessage message,
PacketBuffer buffer) |
static boolean |
handle(FMLPlayMessages.DimensionInfoMessage message,
java.util.function.Supplier<NetworkEvent.Context> contextSupplier) |
private DimensionType |
makeDummyDimensionType() |
private ResourceLocation dimName
private boolean skylight
private int id
private ResourceLocation modDimensionName
private PacketBuffer extraData
DimensionInfoMessage(DimensionType type)
DimensionInfoMessage(int dimId, ResourceLocation dimname, ResourceLocation modDimensionName, boolean skylight, PacketBuffer extraData)
public static FMLPlayMessages.DimensionInfoMessage decode(PacketBuffer buffer)
public static void encode(FMLPlayMessages.DimensionInfoMessage message, PacketBuffer buffer)
private DimensionType makeDummyDimensionType()
public static boolean handle(FMLPlayMessages.DimensionInfoMessage message, java.util.function.Supplier<NetworkEvent.Context> contextSupplier)