Package net.minecraftforge.registries
Class ForgeRegistry.Snapshot
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistry.Snapshot
-
- Enclosing class:
- ForgeRegistry<V extends IForgeRegistryEntry<V>>
public static class ForgeRegistry.Snapshot extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<ResourceLocation,ResourceLocation>
aliases
private PacketBuffer
binary
java.util.Set<java.lang.Integer>
blocked
java.util.Set<ResourceLocation>
dummied
java.util.Map<ResourceLocation,java.lang.Integer>
ids
java.util.Map<ResourceLocation,java.lang.String>
overrides
private static java.util.Comparator<ResourceLocation>
sorter
-
Constructor Summary
Constructors Constructor Description Snapshot()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketBuffer
getPacketData()
static ForgeRegistry.Snapshot
read(CompoundNBT nbt)
static ForgeRegistry.Snapshot
read(PacketBuffer buff)
CompoundNBT
write()
-
-
-
Field Detail
-
sorter
private static final java.util.Comparator<ResourceLocation> sorter
-
ids
public final java.util.Map<ResourceLocation,java.lang.Integer> ids
-
aliases
public final java.util.Map<ResourceLocation,ResourceLocation> aliases
-
blocked
public final java.util.Set<java.lang.Integer> blocked
-
dummied
public final java.util.Set<ResourceLocation> dummied
-
overrides
public final java.util.Map<ResourceLocation,java.lang.String> overrides
-
binary
private PacketBuffer binary
-
-
Method Detail
-
write
public CompoundNBT write()
-
read
public static ForgeRegistry.Snapshot read(CompoundNBT nbt)
-
getPacketData
public PacketBuffer getPacketData()
-
read
public static ForgeRegistry.Snapshot read(PacketBuffer buff)
-
-