mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-15 17:44:57 +00:00
drop "chisel." from all item and block names
this is the first step towards a more vanilla like naming scheme
This commit is contained in:
1 parent
a335c92be7
commit
f334260f42
4 files changed
+10
-30
No files matched your search
@@ -88,13 +88,7 @@ public class Chisel
|
||||
else if(m.type == Type.BLOCK)
|
||||
{
|
||||
Block block = null;
|
||||
|
||||
if(General.cleanTags(m.name).equals("sandSnakestone"))
|
||||
block = GameRegistry.findBlock(Chisel.MOD_ID, "tile.snakestoneSand");
|
||||
else if(General.cleanTags(m.name).equals("snakestone"))
|
||||
block = GameRegistry.findBlock(Chisel.MOD_ID, "tile.snakestoneStone");
|
||||
else
|
||||
block = GameRegistry.findBlock(Chisel.MOD_ID, General.cleanTags(m.name));
|
||||
block = GameRegistry.findBlock(Chisel.MOD_ID, General.cleanTags(m.name));
|
||||
|
||||
if(block != null)
|
||||
{
|
||||
@@ -105,13 +99,7 @@ public class Chisel
|
||||
} else if(m.type == Type.ITEM)
|
||||
{
|
||||
Item item = null;
|
||||
|
||||
if(General.cleanTags(m.name).equals("sandSnakestone"))
|
||||
item = GameRegistry.findItem(Chisel.MOD_ID, "tile.snakestoneSand");
|
||||
else if(General.cleanTags(m.name).equals("snakestone"))
|
||||
item = GameRegistry.findItem(Chisel.MOD_ID, "tile.snakestoneStone");
|
||||
else
|
||||
item = GameRegistry.findItem(Chisel.MOD_ID, General.cleanTags(m.name));
|
||||
item = GameRegistry.findItem(Chisel.MOD_ID, General.cleanTags(m.name));
|
||||
|
||||
if(item != null)
|
||||
{
|
||||
@@ -149,7 +137,7 @@ public class Chisel
|
||||
{
|
||||
itemCloudInABottle = (ItemCloudInABottle) new ItemCloudInABottle().setTextureName("Chisel:cloudinabottle").setCreativeTab(CreativeTabs.tabTools);
|
||||
EntityRegistry.registerModEntity(EntityCloudInABottle.class, "CloudInABottle", 1, this, 40, 1, true);
|
||||
GameRegistry.registerItem(itemCloudInABottle, "chisel.cloudinabottle");
|
||||
GameRegistry.registerItem(itemCloudInABottle, "cloudinabottle");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("ballOfMoss"))
|
||||
|
||||
Reference in new issue
Block a user