public abstract class MutableRegistry<T> extends Registry<T>
ACTIVITY, BIOME, BIOME_SOURCE_TYPE, BLOCK, BLOCK_ENTITY_TYPE, BLOCK_PLACER_TYPE, BLOCK_STATE_PROVIDER_TYPE, CARVER, CHUNK_GENERATOR_TYPE, CHUNK_STATUS, CUSTOM_STAT, DECORATOR, DIMENSION_TYPE, EFFECTS, ENCHANTMENT, ENTITY_TYPE, FEATURE, FLUID, FOLIAGE_PLACER_TYPE, ITEM, LOGGER, MEMORY_MODULE_TYPE, MENU, MOTIVE, PARTICLE_TYPE, POINT_OF_INTEREST_TYPE, POTION, RECIPE_SERIALIZER, RECIPE_TYPE, REGISTRY, RULE_TEST, SCHEDULE, SENSOR_TYPE, SOUND_EVENT, STATS, STRUCTURE_FEATURE, STRUCTURE_PIECE, STRUCTURE_POOL_ELEMENT, STRUCTURE_PROCESSOR, SURFACE_BUILDER, TREE_DECORATOR_TYPE, VILLAGER_PROFESSION, VILLAGER_TYPE
Constructor and Description |
---|
MutableRegistry() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isEmpty() |
abstract <V extends T> |
register(int id,
ResourceLocation name,
V instance) |
abstract <V extends T> |
register(ResourceLocation name,
V instance) |
containsKey, getId, getKey, getOrDefault, getRandom, getValue, keySet, register, register, register, stream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getByValue
public abstract <V extends T> V register(int id, ResourceLocation name, V instance)
public abstract <V extends T> V register(ResourceLocation name, V instance)
public abstract boolean isEmpty()