public static class FMLHandshakeMessage.RegistryData extends FMLHandshakeMessage
FMLHandshakeMessage.ClientHello, FMLHandshakeMessage.HandshakeAck, FMLHandshakeMessage.HandshakeReset, FMLHandshakeMessage.ModList, FMLHandshakeMessage.RegistryData, FMLHandshakeMessage.ServerHello
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ResourceLocation> |
dummied |
private boolean |
hasMore |
private java.util.Map<ResourceLocation,java.lang.Integer> |
ids |
private ResourceLocation |
name |
private java.util.Map<ResourceLocation,java.lang.String> |
overrides |
Constructor and Description |
---|
RegistryData() |
RegistryData(boolean hasMore,
ResourceLocation name,
ForgeRegistry.Snapshot entry) |
Modifier and Type | Method and Description |
---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buffer) |
java.util.Set<ResourceLocation> |
getDummied() |
java.util.Map<ResourceLocation,java.lang.Integer> |
getIdMap() |
ResourceLocation |
getName() |
java.util.Map<ResourceLocation,java.lang.String> |
getOverrides() |
boolean |
hasMore() |
void |
toBytes(io.netty.buffer.ByteBuf buffer) |
java.lang.String |
toString(java.lang.Class<? extends java.lang.Enum<?>> side) |
makeCustomChannelRegistration
private boolean hasMore
private ResourceLocation name
private java.util.Map<ResourceLocation,java.lang.Integer> ids
private java.util.Set<ResourceLocation> dummied
private java.util.Map<ResourceLocation,java.lang.String> overrides
public RegistryData()
public RegistryData(boolean hasMore, ResourceLocation name, ForgeRegistry.Snapshot entry)
public void fromBytes(io.netty.buffer.ByteBuf buffer)
fromBytes
in class FMLHandshakeMessage
public void toBytes(io.netty.buffer.ByteBuf buffer)
toBytes
in class FMLHandshakeMessage
public java.util.Map<ResourceLocation,java.lang.Integer> getIdMap()
public java.util.Set<ResourceLocation> getDummied()
public java.util.Map<ResourceLocation,java.lang.String> getOverrides()
public ResourceLocation getName()
public boolean hasMore()
public java.lang.String toString(java.lang.Class<? extends java.lang.Enum<?>> side)
toString
in class FMLHandshakeMessage