public abstract class MarkerCache<S extends MarkerSubCache<?>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<MarkerCache<?>> |
CACHES |
static boolean |
DEBUG |
java.lang.String |
name |
Constructor and Description |
---|
MarkerCache(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract S |
createSubCache(net.minecraft.world.World world) |
S |
getSubCache(net.minecraft.world.World world) |
static void |
onPlayerJoinWorld(net.minecraft.entity.player.EntityPlayerMP player) |
static void |
onWorldUnload(net.minecraft.world.World world) |
static void |
postInit() |
static void |
registerCache(MarkerCache<?> cache) |
public static final boolean DEBUG
public static final java.util.List<MarkerCache<?>> CACHES
public final java.lang.String name
public static void registerCache(MarkerCache<?> cache)
public static void postInit()
public static void onPlayerJoinWorld(net.minecraft.entity.player.EntityPlayerMP player)
public static void onWorldUnload(net.minecraft.world.World world)
protected abstract S createSubCache(net.minecraft.world.World world)
public S getSubCache(net.minecraft.world.World world)