Class StatRegistry
java.lang.Object
net.tearpelato.craftcorelib.api.registry.ObjectRegistries<net.minecraft.resources.ResourceLocation>
net.tearpelato.craftcorelib.api.registry.StatRegistry
- All Implemented Interfaces:
Supplier<net.minecraft.resources.ResourceLocation>
-
Field Summary
Fields inherited from class net.tearpelato.craftcorelib.api.registry.ObjectRegistries
id, instance, registry, supplier -
Constructor Summary
ConstructorsConstructorDescriptionStatRegistry(net.minecraft.core.Registry<? super net.minecraft.resources.ResourceLocation> registry, net.minecraft.resources.ResourceLocation id, net.minecraft.stats.StatFormatter formatter) -
Method Summary
Methods inherited from class net.tearpelato.craftcorelib.api.registry.ObjectRegistries
create, createAll, createAll, get, getId, getKey, matches, registerBlock, registerBlockEntity, registerBlockItem, registerBlockWithoutItem, registerCreativeTab, registerCustom, registerEnchantmentComponentEffect, registerEnchantmentEffect, registerEntity, registerFoliagePlacer, registerItem, registerMapDecoration, registerMenu, registerMenuData, registerParticleType, registerRecipeSerializer, registerRecipeType, registerSound, registerStat, registerTreeDecoratorType, registerTrunkPlacer
-
Constructor Details
-
StatRegistry
public StatRegistry(net.minecraft.core.Registry<? super net.minecraft.resources.ResourceLocation> registry, net.minecraft.resources.ResourceLocation id, net.minecraft.stats.StatFormatter formatter)
-
-
Method Details
-
register
protected void register()- Overrides:
registerin classObjectRegistries<net.minecraft.resources.ResourceLocation>
-