Some more work on deduplicating ic2 items/blocks
This commit is contained in:
parent
bfcc3a2117
commit
5ff09a7eda
8 changed files with 321 additions and 204 deletions
|
@ -1,5 +1,6 @@
|
|||
package techreborn.parts.powerCables;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IStringSerializable;
|
||||
import reborncore.api.power.EnumPowerTier;
|
||||
|
||||
|
@ -38,4 +39,8 @@ public enum EnumStandaloneCableType implements IStringSerializable {
|
|||
public String getName() {
|
||||
return friendlyName.toLowerCase();
|
||||
}
|
||||
|
||||
public ItemStack getStack(){
|
||||
return ItemStandaloneCables.getCableByName(getName());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue