net.minecraft.core

public abstract class Registry<T>

implements IdMap<T>

fn
net.minecraft.core.Registry
net.minecraft.class_2378
net.minecraft.util.registry.Registry
net.minecraft.util.registry.Registry
net.minecraft.server.v1_14_R1.IRegistry

Field summary

Modifier and TypeField
protected static final org.apache.logging.log4j.Logger
e
LOGGER
field_11139
LOGGER
field_212616_e
private static final Map<ResourceLocation, Supplier<?>>
a
LOADERS
field_11140
DEFAULT_ENTRIES
field_218376_a
public static final WritableRegistry<WritableRegistry<?>>
f
REGISTRY
field_11144
REGISTRIES
field_212617_f
public static final Registry<SoundEvent>
g
SOUND_EVENT
field_11156
SOUND_EVENT
field_212633_v
SOUND_EVENT
public static final DefaultedRegistry<Fluid>
h
FLUID
field_11154
FLUID
field_212619_h
FLUID
public static final Registry<MobEffect>
i
MOB_EFFECT
field_11159
STATUS_EFFECT
field_212631_t
MOB_EFFECT
public static final DefaultedRegistry<Block>
j
BLOCK
field_11146
BLOCK
field_212618_g
BLOCK
public static final Registry<Enchantment>
k
ENCHANTMENT
field_11160
ENCHANTMENT
field_212628_q
ENCHANTMENT
public static final DefaultedRegistry<EntityType<?>>
l
ENTITY_TYPE
field_11145
ENTITY_TYPE
field_212629_r
ENTITY_TYPE
public static final DefaultedRegistry<Item>
m
ITEM
field_11142
ITEM
field_212630_s
ITEM
public static final DefaultedRegistry<Potion>
n
POTION
field_11143
POTION
field_212621_j
POTION
public static final Registry<WorldCarver<?>>
o
CARVER
field_11157
CARVER
field_218377_o
CARVER
public static final Registry<SurfaceBuilder<?>>
p
SURFACE_BUILDER
field_11147
SURFACE_BUILDER
field_218378_p
SURFACE_BUILDER
public static final Registry<Feature<?>>
q
FEATURE
field_11138
FEATURE
field_218379_q
FEATURE
public static final Registry<FeatureDecorator<?>>
r
DECORATOR
field_11148
DECORATOR
field_218380_r
DECORATOR
public static final Registry<Biome>
s
BIOME
field_11153
BIOME
field_212624_m
BIOME
public static final Registry<ParticleType<? extends ParticleOptions>>
t
PARTICLE_TYPE
field_11141
PARTICLE_TYPE
field_212632_u
PARTICLE_TYPE
public static final Registry<BiomeSourceType<?, ?>>
u
BIOME_SOURCE_TYPE
field_11151
BIOME_SOURCE_TYPE
field_212625_n
BIOME_SOURCE_TYPE
public static final Registry<BlockEntityType<?>>
v
BLOCK_ENTITY_TYPE
field_11137
BLOCK_ENTITY
field_212626_o
BLOCK_ENTITY_TYPE
public static final Registry<ChunkGeneratorType<?, ?>>
w
CHUNK_GENERATOR_TYPE
field_11149
CHUNK_GENERATOR_TYPE
field_212627_p
CHUNK_GENERATOR_TYPE
public static final Registry<DimensionType>
x
DIMENSION_TYPE
field_11155
DIMENSION
field_212622_k
DIMENSION_TYPE
public static final DefaultedRegistry<Motive>
y
MOTIVE
field_11150
PAINTING_MOTIVE
field_212620_i
MOTIVE
public static final Registry<ResourceLocation>
z
CUSTOM_STAT
field_11158
CUSTOM_STAT
field_212623_l
CUSTOM_STAT
public static final DefaultedRegistry<ChunkStatus>
A
CHUNK_STATUS
field_16643
CHUNK_STATUS
field_218360_A
CHUNK_STATUS
public static final Registry<StructureFeature<?>>
B
STRUCTURE_FEATURE
field_16644
STRUCTURE_FEATURE
field_218361_B
STRUCTURE_FEATURE
public static final Registry<StructurePieceType>
C
STRUCTURE_PIECE
field_16645
STRUCTURE_PIECE
field_218362_C
STRUCTURE_PIECE
public static final Registry<RuleTestType>
D
RULE_TEST
field_16792
RULE_TEST
field_218363_D
RULE_TEST
public static final Registry<StructureProcessorType>
E
STRUCTURE_PROCESSOR
field_16794
STRUCTURE_PROCESSOR
field_218364_E
STRUCTURE_PROCESSOR
public static final Registry<StructurePoolElementType>
F
STRUCTURE_POOL_ELEMENT
field_16793
STRUCTURE_POOL_ELEMENT
field_218365_F
STRUCTURE_POOL_ELEMENT
public static final Registry<MenuType<?>>
G
MENU
field_17429
CONTAINER
field_218366_G
MENU
public static final Registry<RecipeType<?>>
H
RECIPE_TYPE
field_17597
RECIPE_TYPE
field_218367_H
RECIPE_TYPE
public static final Registry<RecipeSerializer<?>>
I
RECIPE_SERIALIZER
field_17598
RECIPE_SERIALIZER
field_218368_I
RECIPE_SERIALIZER
public static final Registry<StatType<?>>
J
STAT_TYPE
field_11152
STAT_TYPE
field_212634_w
STATS
public static final DefaultedRegistry<VillagerType>
K
VILLAGER_TYPE
field_17166
VILLAGER_TYPE
field_218369_K
VILLAGER_TYPE
public static final DefaultedRegistry<VillagerProfession>
L
VILLAGER_PROFESSION
field_17167
VILLAGER_PROFESSION
field_218370_L
VILLAGER_PROFESSION
public static final DefaultedRegistry<PoiType>
M
POINT_OF_INTEREST_TYPE
field_18792
POINT_OF_INTEREST_TYPE
field_218371_M
POINT_OF_INTEREST_TYPE
public static final DefaultedRegistry<MemoryModuleType<?>>
N
MEMORY_MODULE_TYPE
field_18793
MEMORY_MODULE_TYPE
field_218372_N
MEMORY_MODULE_TYPE
public static final DefaultedRegistry<SensorType<?>>
O
SENSOR_TYPE
field_18794
SENSOR_TYPE
field_218373_O
SENSOR_TYPE
public static final Registry<Schedule>
P
SCHEDULE
field_18795
SCHEDULE
field_218374_P
SCHEDULE
public static final Registry<Activity>
Q
ACTIVITY
field_18796
ACTIVITY
field_218375_Q
ACTIVITY

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T> Registry<T>
a(String arg0, Supplier<T> arg1)
registerSimple(String arg0, Supplier<T> arg1)
method_10247(String arg0, Supplier<T> arg1)
create(String id, Supplier<T> arg1)
func_222935_a(String arg0, Supplier<T> arg1)
private static <T> DefaultedRegistry<T>
a(String arg0, String arg1, Supplier<T> arg2)
registerDefaulted(String arg0, String arg1, Supplier<T> arg2)
method_10224(String arg0, String arg1, Supplier<T> arg2)
create(String arg0, String arg1, Supplier<T> defaultEntry)
func_222933_a(String arg0, String arg1, Supplier<T> arg2)
private static <T, R extends WritableRegistry<T>> R
a(String arg0, R arg1, Supplier<T> arg2)
internalRegister(String arg0, R arg1, Supplier<T> arg2)
method_10227(String arg0, R arg1, Supplier<T> arg2)
putDefaultEntry(String id, R arg1, Supplier<T> arg2)
func_222939_a(String arg0, R arg1, Supplier<T> arg2)
public abstract ResourceLocation
b(T arg0)
getKey(T arg0)
method_10221(T arg0)
getId(T entry)
func_177774_c(T arg0)
getKey(T arg0)
public abstract int
a(T arg0)
getId(T arg0)
method_10249(T arg0)
getRawId(T entry)
func_148757_b(T arg0)
public abstract T
a(qv arg0)
get(ResourceLocation arg0)
method_10223(class_2960 arg0)
get(Identifier id)
func_82594_a(ResourceLocation arg0)
get(MinecraftKey arg0)
public abstract Optional<T>
b(qv arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier id)
func_218349_b(ResourceLocation arg0)
getOptional(MinecraftKey arg0)
public abstract Set<ResourceLocation>
b()
keySet()
method_10235()
getIds()
func_148742_b()
keySet()
public abstract T
a(Random arg0)
getRandom(Random arg0)
method_10240(Random arg0)
getRandom(Random random)
func_186801_a(Random arg0)
public Stream<T>
d()
stream()
method_10220()
stream()
func_201756_e()
public static <T> T
a(fn<? super T> arg0, String arg1, T arg2)
register(Registry<? super T> arg0, String arg1, T arg2)
method_10226(class_2378<? super T> arg0, String arg1, T arg2)
register(Registry<? super T> registry, String id, T entry)
func_218325_a(Registry<? super T> arg0, String arg1, T arg2)
public static <T> T
a(fn<? super T> arg0, qv arg1, T arg2)
register(Registry<? super T> arg0, ResourceLocation arg1, T arg2)
method_10230(class_2378<? super T> arg0, class_2960 arg1, T arg2)
register(Registry<? super T> registry, Identifier id, T entry)
func_218322_a(Registry<? super T> arg0, ResourceLocation arg1, T arg2)
public static <T> T
a(fn<? super T> arg0, int arg1, String arg2, T arg3)
registerMapping(Registry<? super T> arg0, int arg1, String arg2, T arg3)
method_10231(class_2378<? super T> arg0, int arg1, String arg2, T arg3)
register(Registry<? super T> registry, int rawId, String id, T entry)
func_218343_a(Registry<? super T> arg0, int arg1, String arg2, T arg3)
public abstract boolean
c(qv arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier id)
func_212607_c(ResourceLocation arg0)