net.minecraft.core

public abstract class Registry<T>

implements IdMap<T>

gb
net.minecraft.core.Registry
net.minecraft.class_2378
net.minecraft.util.registry.Registry
net.minecraft.util.registry.Registry
net.minecraft.server.v1_15_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<BlockStateProviderType<?>>
t
BLOCKSTATE_PROVIDER_TYPES
field_21445
BLOCK_STATE_PROVIDER_TYPE
field_229387_t_
public static final Registry<BlockPlacerType<?>>
u
BLOCK_PLACER_TYPES
field_21446
BLOCK_PLACER_TYPE
field_229388_u_
public static final Registry<FoliagePlacerType<?>>
v
FOLIAGE_PLACER_TYPES
field_21447
FOLIAGE_PLACER_TYPE
field_229389_v_
public static final Registry<TreeDecoratorType<?>>
w
TREE_DECORATOR_TYPES
field_21448
TREE_DECORATOR_TYPE
field_229390_w_
public static final Registry<ParticleType<? extends ParticleOptions>>
x
PARTICLE_TYPE
field_11141
PARTICLE_TYPE
field_212632_u
PARTICLE_TYPE
public static final Registry<BiomeSourceType<?, ?>>
y
BIOME_SOURCE_TYPE
field_11151
BIOME_SOURCE_TYPE
field_212625_n
BIOME_SOURCE_TYPE
public static final Registry<BlockEntityType<?>>
z
BLOCK_ENTITY_TYPE
field_11137
BLOCK_ENTITY_TYPE
field_212626_o
BLOCK_ENTITY_TYPE
public static final Registry<ChunkGeneratorType<?, ?>>
A
CHUNK_GENERATOR_TYPE
field_11149
CHUNK_GENERATOR_TYPE
field_212627_p
CHUNK_GENERATOR_TYPE
public static final Registry<DimensionType>
B
DIMENSION_TYPE
field_11155
DIMENSION_TYPE
field_212622_k
DIMENSION_TYPE
public static final DefaultedRegistry<Motive>
C
MOTIVE
field_11150
PAINTING_MOTIVE
field_212620_i
MOTIVE
public static final Registry<ResourceLocation>
D
CUSTOM_STAT
field_11158
CUSTOM_STAT
field_212623_l
CUSTOM_STAT
public static final DefaultedRegistry<ChunkStatus>
E
CHUNK_STATUS
field_16643
CHUNK_STATUS
field_218360_A
CHUNK_STATUS
public static final Registry<StructureFeature<?>>
F
STRUCTURE_FEATURE
field_16644
STRUCTURE_FEATURE
field_218361_B
STRUCTURE_FEATURE
public static final Registry<StructurePieceType>
G
STRUCTURE_PIECE
field_16645
STRUCTURE_PIECE
field_218362_C
STRUCTURE_PIECE
public static final Registry<RuleTestType>
H
RULE_TEST
field_16792
RULE_TEST
field_218363_D
RULE_TEST
public static final Registry<StructureProcessorType>
I
STRUCTURE_PROCESSOR
field_16794
STRUCTURE_PROCESSOR
field_218364_E
STRUCTURE_PROCESSOR
public static final Registry<StructurePoolElementType>
J
STRUCTURE_POOL_ELEMENT
field_16793
STRUCTURE_POOL_ELEMENT
field_218365_F
STRUCTURE_POOL_ELEMENT
public static final Registry<MenuType<?>>
K
MENU
field_17429
CONTAINER
field_218366_G
MENU
public static final Registry<RecipeType<?>>
L
RECIPE_TYPE
field_17597
RECIPE_TYPE
field_218367_H
RECIPE_TYPE
public static final Registry<RecipeSerializer<?>>
M
RECIPE_SERIALIZER
field_17598
RECIPE_SERIALIZER
field_218368_I
RECIPE_SERIALIZER
public static final Registry<StatType<?>>
N
STAT_TYPE
field_11152
STAT_TYPE
field_212634_w
STATS
public static final DefaultedRegistry<VillagerType>
O
VILLAGER_TYPE
field_17166
VILLAGER_TYPE
field_218369_K
VILLAGER_TYPE
public static final DefaultedRegistry<VillagerProfession>
P
VILLAGER_PROFESSION
field_17167
VILLAGER_PROFESSION
field_218370_L
VILLAGER_PROFESSION
public static final DefaultedRegistry<PoiType>
Q
POINT_OF_INTEREST_TYPE
field_18792
POINT_OF_INTEREST_TYPE
field_218371_M
POINT_OF_INTEREST_TYPE
public static final DefaultedRegistry<MemoryModuleType<?>>
R
MEMORY_MODULE_TYPE
field_18793
MEMORY_MODULE_TYPE
field_218372_N
MEMORY_MODULE_TYPE
public static final DefaultedRegistry<SensorType<?>>
S
SENSOR_TYPE
field_18794
SENSOR_TYPE
field_218373_O
SENSOR_TYPE
public static final Registry<Schedule>
T
SCHEDULE
field_18795
SCHEDULE
field_218374_P
SCHEDULE
public static final Registry<Activity>
U
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(sm 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(sm 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(gb<? 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(gb<? super T> arg0, sm 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(gb<? 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(sm arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier id)
func_212607_c(ResourceLocation arg0)