forked from TAIGA/TAIGA
changed things a lot
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.sosnitzka.ztic_addon.generic;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class BasicItem extends Item {
|
||||
public String oreDictName;
|
||||
|
||||
public BasicItem(String name, String oreDictName) {
|
||||
setUnlocalizedName(name);
|
||||
setRegistryName(name);
|
||||
this.oreDictName = oreDictName;
|
||||
}
|
||||
|
||||
public BasicItem(String name) {
|
||||
this(name, null);
|
||||
}
|
||||
|
||||
public boolean isOreDict() {
|
||||
return this.oreDictName != null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user