Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 16:40:10 +01:00
Make registry fields in 1.8 ItemRewriter public (#3472)
Dieser Commit ist enthalten in:
Ursprung
0953ff77e4
Commit
868c5ba203
@ -30,12 +30,12 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class ItemRewriter {
|
public class ItemRewriter {
|
||||||
|
|
||||||
private static final Map<String, Integer> ENTTIY_NAME_TO_ID = new HashMap<>();
|
public static final Map<String, Integer> ENTTIY_NAME_TO_ID = new HashMap<>();
|
||||||
private static final Map<Integer, String> ENTTIY_ID_TO_NAME = new HashMap<>();
|
public static final Map<Integer, String> ENTTIY_ID_TO_NAME = new HashMap<>();
|
||||||
private static final Map<String, Integer> POTION_NAME_TO_ID = new HashMap<>();
|
public static final Map<String, Integer> POTION_NAME_TO_ID = new HashMap<>();
|
||||||
private static final Map<Integer, String> POTION_ID_TO_NAME = new HashMap<>();
|
public static final Map<Integer, String> POTION_ID_TO_NAME = new HashMap<>();
|
||||||
|
|
||||||
private static final Int2IntMap POTION_INDEX = new Int2IntOpenHashMap(36, .99F);
|
public static final Int2IntMap POTION_INDEX = new Int2IntOpenHashMap(36, .99F);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
/* Entities */
|
/* Entities */
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren