public class NetworkModHolder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
NetworkModHolder.NetworkChecker |
Constructor and Description |
---|
NetworkModHolder(ModContainer container) |
NetworkModHolder(ModContainer container,
java.lang.Class<?> modClass,
java.lang.String acceptableVersionRange,
ASMDataTable table) |
NetworkModHolder(ModContainer container,
NetworkModHolder.NetworkChecker checker) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsVanilla(Side from) |
boolean |
acceptVersion(java.lang.String version) |
boolean |
check(java.util.Map<java.lang.String,java.lang.String> data,
Side side) |
ModContainer |
getContainer() |
int |
getLocalId() |
int |
getNetworkId() |
void |
setNetworkId(int value) |
void |
testVanillaAcceptance() |
public NetworkModHolder(ModContainer container)
public NetworkModHolder(ModContainer container, NetworkModHolder.NetworkChecker checker)
public NetworkModHolder(ModContainer container, java.lang.Class<?> modClass, @Nullable java.lang.String acceptableVersionRange, ASMDataTable table)
public boolean acceptVersion(java.lang.String version)
public boolean check(java.util.Map<java.lang.String,java.lang.String> data, Side side)
public int getLocalId()
public int getNetworkId()
public ModContainer getContainer()
public void setNetworkId(int value)
public void testVanillaAcceptance()
public boolean acceptsVanilla(Side from)