Simplify registry name
This commit is contained in:
1 parent
4fb2090221
commit
f240590733
2 files changed
+2
-2
No files matched your search
@@ -80,7 +80,7 @@ public class Category extends ForgeRegistryEntry<Category>
|
|||||||
{
|
{
|
||||||
REGISTRY = new RegistryBuilder<Category>()
|
REGISTRY = new RegistryBuilder<Category>()
|
||||||
.setType(Category.class)
|
.setType(Category.class)
|
||||||
.setName(new ResourceLocation(String.join("_", new String[] {Main.MODID, "category"})))
|
.setName(new ResourceLocation(Main.MODID + "_category"))
|
||||||
.disableSaving()
|
.disableSaving()
|
||||||
.disableSync()
|
.disableSync()
|
||||||
.create();
|
.create();
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ public abstract class Content extends ForgeRegistryEntry<Content> implements ICo
|
|||||||
{
|
{
|
||||||
REGISTRY = new RegistryBuilder<Content>()
|
REGISTRY = new RegistryBuilder<Content>()
|
||||||
.setType(Content.class)
|
.setType(Content.class)
|
||||||
.setName(new ResourceLocation(String.join("_", new String[] {Main.MODID, "content"})))
|
.setName(new ResourceLocation(Main.MODID + "_content"))
|
||||||
.disableSaving()
|
.disableSaving()
|
||||||
.disableSync()
|
.disableSync()
|
||||||
.create();
|
.create();
|
||||||
|
|||||||
Reference in new issue
Block a user