Inscription Tools and Slates
This commit is contained in:
parent
437dc1b96e
commit
7dd170e5ad
13 changed files with 178 additions and 12 deletions
|
@ -9,8 +9,7 @@ import net.minecraftforge.fluids.Fluid;
|
|||
|
||||
public class BloodMagicAPI {
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Getter @Setter
|
||||
private static boolean loggingEnabled;
|
||||
|
||||
@Getter
|
||||
|
@ -19,11 +18,12 @@ public class BloodMagicAPI {
|
|||
@Getter
|
||||
private static DamageSource damageSource = new DamageSourceBloodMagic();
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Getter @Setter
|
||||
private static Item orbItem;
|
||||
@Getter @Setter
|
||||
private static Item scribeItem;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
|
||||
@Getter @Setter
|
||||
private static Fluid lifeEssence;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package WayofTime.bloodmagic.api.ritual;
|
||||
|
||||
import WayofTime.bloodmagic.api.BloodMagicAPI;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IStringSerializable;
|
||||
|
||||
import java.util.Locale;
|
||||
|
@ -21,6 +23,10 @@ public enum EnumRuneType implements IStringSerializable {
|
|||
return values()[meta];
|
||||
}
|
||||
|
||||
public ItemStack getScribeStack() {
|
||||
return new ItemStack(BloodMagicAPI.getScribeItem(), 1, ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name().toLowerCase(Locale.ENGLISH);
|
||||
|
@ -30,4 +36,5 @@ public enum EnumRuneType implements IStringSerializable {
|
|||
public String getName() {
|
||||
return this.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue