public static class FMLHandshakeMessages.S2CRegistry
extends java.lang.Object
コンストラクタと説明 |
---|
S2CRegistry(ResourceLocation name,
ForgeRegistry.Snapshot snapshot) |
修飾子とタイプ | メソッドと説明 |
---|---|
static FMLHandshakeMessages.S2CRegistry |
decode(PacketBuffer buffer) |
int |
getAsInt() |
ResourceLocation |
getRegistryName() |
ForgeRegistry.Snapshot |
getSnapshot() |
boolean |
hasSnapshot() |
public S2CRegistry(ResourceLocation name, @Nullable ForgeRegistry.Snapshot snapshot)
public static FMLHandshakeMessages.S2CRegistry decode(PacketBuffer buffer)
public ResourceLocation getRegistryName()
public boolean hasSnapshot()
@Nullable public ForgeRegistry.Snapshot getSnapshot()
public int getAsInt()
getAsInt
インタフェース内 java.util.function.IntSupplier