add nametag recipe
This commit is contained in:
parent
1ec65ee117
commit
a7dacc36f8
2 changed files with 3 additions and 2 deletions
|
@ -195,6 +195,7 @@ public abstract class CraftingRegistry
|
|||
|
||||
add(new ItemStack(Items.lead, 2), "~~ ", "~~ ", " ~", '~', Items.string);
|
||||
add(new ItemStack(Items.saddle, 1), "###", "~ ~", '#', Items.leather, '~', Items.string);
|
||||
add(new ItemStack(Items.name_tag, 1), " ~", "# ", '#', Items.paper, '~', Items.string);
|
||||
add(new ItemStack(Items.snow, 1), "##", "##", '#', Items.snowball);
|
||||
add(new ItemStack(Items.snow_layer, 6), "###", '#', Items.snow);
|
||||
add(new ItemStack(Items.clay, 1), "##", "##", '#', Items.clay_lump);
|
||||
|
|
|
@ -36,7 +36,7 @@ public abstract class Util {
|
|||
public static final int PROTOCOL = Version.MAJOR << 16 | Version.MINOR << 8 | Version.PATCH;
|
||||
public static final String VERSION = "v" + Version.MAJOR + "." + Version.MINOR + "." + Version.PATCH + Version.RELEASE;
|
||||
private static final String[] TIERS = new String[] {"II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X"};
|
||||
private static final String[] COMPRESSION = new String[] {"Zwei", "Drei", "Vier", "Fünf", "Sechs", "Sieben", "Acht", "Neun", "Zehn", "Elf", "Zwölf"};
|
||||
private static final String[] NUMBERS = new String[] {"Zwei", "Drei", "Vier", "Fünf", "Sechs", "Sieben", "Acht", "Neun", "Zehn", "Elf", "Zwölf"};
|
||||
|
||||
private static boolean crashed;
|
||||
|
||||
|
@ -539,7 +539,7 @@ public abstract class Util {
|
|||
}
|
||||
|
||||
public static String getCompressionPrefix(String prefix, int level) {
|
||||
return level <= 0 ? "" : (level == 1 ? prefix + " " : (level > TIERS.length ? level + "-Fach " + prefix.toLowerCase() + " " : COMPRESSION[level - 2] + "fach " + prefix.toLowerCase() + " "));
|
||||
return level <= 0 ? "" : (level == 1 ? prefix + " " : (level > NUMBERS.length + 1 ? level + "-Fach " + prefix.toLowerCase() + " " : NUMBERS[level - 2] + "fach " + prefix.toLowerCase() + " "));
|
||||
}
|
||||
|
||||
public static ThreadFactory getThreadFactory(String name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue