Add rune type colors Ritual Diviner tooltip
Fixes casing for direction as well. IE: north -> North
This commit is contained in:
parent
253da93b3e
commit
dce6bf1e93
3 changed files with 29 additions and 31 deletions
|
@ -1,6 +1,7 @@
|
|||
package WayofTime.bloodmagic.util;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Locale;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockPortal;
|
||||
|
@ -86,6 +87,10 @@ public class Utils
|
|||
return true;
|
||||
}
|
||||
|
||||
public static String toFancyCasing(String input) {
|
||||
return String.valueOf(input.charAt(0)).toUpperCase(Locale.ENGLISH) + input.substring(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tile
|
||||
* - The {@link TileInventory} to input the item to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue