net.minecraft.util.registry

public abstract class Registry<T>

implements IndexedIterable<T>

fm
net.minecraft.class_2378
net.minecraft.util.registry.Registry
net.minecraft.util.registry.Registry

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T> Registry<T>
a(String arg0, Supplier<T> arg1)
method_10247(String arg0, Supplier<T> arg1)
create(String arg0, Supplier<T> arg1)
func_222935_a(String arg0, Supplier<T> arg1)
private static <T> DefaultedRegistry<T>
a(String arg0, String arg1, Supplier<T> arg2)
method_10224(String arg0, String arg1, Supplier<T> arg2)
create(String arg0, String arg1, Supplier<T> arg2)
func_222933_a(String arg0, String arg1, Supplier<T> arg2)
private static <T, R extends MutableRegistry<T>> R
a(String arg0, R arg1, Supplier<T> arg2)
method_10227(String arg0, R arg1, Supplier<T> arg2)
putDefaultEntry(String arg0, R arg1, Supplier<T> arg2)
func_222939_a(String arg0, R arg1, Supplier<T> arg2)
public abstract Identifier
b(T arg0)
method_10221(T arg0)
getId(T arg0)
func_177774_c(T arg0)
public abstract int
a(T arg0)
method_10249(T arg0)
getRawId(T arg0)
func_148757_b(T arg0)
public abstract T
a(qt arg0)
method_10223(class_2960 arg0)
get(Identifier arg0)
func_82594_a(ResourceLocation arg0)
public abstract Optional<T>
b(qt arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier arg0)
func_218349_b(ResourceLocation arg0)
public abstract Set<Identifier>
b()
method_10235()
getIds()
func_148742_b()
public abstract T
a(Random arg0)
method_10240(Random arg0)
getRandom(Random arg0)
func_186801_a(Random arg0)
public Stream<T>
d()
method_10220()
stream()
func_201756_e()
public static <T> T
a(fm<? super T> arg0, String arg1, T arg2)
method_10226(class_2378<? super T> arg0, String arg1, T arg2)
register(Registry<? super T> arg0, String arg1, T arg2)
func_218325_a(Registry<? super T> arg0, String arg1, T arg2)
public static <T> T
a(fm<? super T> arg0, qt arg1, T arg2)
method_10230(class_2378<? super T> arg0, class_2960 arg1, T arg2)
register(Registry<? super T> arg0, Identifier arg1, T arg2)
func_218322_a(Registry<? super T> arg0, ResourceLocation arg1, T arg2)
public static <T> T
a(fm<? 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> arg0, int arg1, String arg2, T arg3)
func_218343_a(Registry<? super T> arg0, int arg1, String arg2, T arg3)
public abstract boolean
c(qt arg0)
method_10250(class_2960 arg0)
containsId(Identifier arg0)
func_212607_c(ResourceLocation arg0)