3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-08 11:10:06 +02:00

Make registry fields in 1.8 ItemRewriter public (#3472)

Dieser Commit ist enthalten in:
EnZaXD 2023-10-08 05:05:11 +02:00 committet von GitHub
Ursprung 0953ff77e4
Commit 868c5ba203
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -30,12 +30,12 @@ import java.util.Map;
public class ItemRewriter {
private static final Map<String, Integer> ENTTIY_NAME_TO_ID = new HashMap<>();
private static final Map<Integer, String> ENTTIY_ID_TO_NAME = new HashMap<>();
private 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<String, Integer> ENTTIY_NAME_TO_ID = new HashMap<>();
public static final Map<Integer, String> ENTTIY_ID_TO_NAME = new HashMap<>();
public static final Map<String, Integer> POTION_NAME_TO_ID = 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 {
/* Entities */