Update libs

This commit is contained in:
FlorianMichael 2023-04-25 00:37:29 +02:00
parent 97ea64ed14
commit 3889519f01
2 changed files with 12 additions and 2 deletions

View File

@ -30,7 +30,7 @@ viabedrock_version=0.0.1-SNAPSHOT
minecraftauth_version=2.0.1
# lenni0451 libs
mcstructs_text_version=2.2.0
mcstructs_text_version=2.2.4
reflect_version=1.1.0
# other libs

View File

@ -39,6 +39,14 @@ import org.apache.logging.log4j.Logger;
import java.io.File;
/**
* TODO | Protocol translation
* - BucketItem#use canPlaceOn in <= 1.13 is missing
* - Cobwebs in <= b1.7.3 are broken
* - Window interactions in <= 1.16.5 are unlegit
* - Entity hitboxes and eye heights has changed
* - Crafting Recipes are missing in ViaVersion
*/
public class ViaFabricPlus {
public final static Gson GSON = new GsonBuilder().setPrettyPrinting().create();
public final static Logger LOGGER = LogManager.getLogger("ViaFabricPlus");
@ -67,14 +75,16 @@ public class ViaFabricPlus {
// Protocol Translator
ProtocolHack.init();
// Stuff which requires Minecraft to be initialized
FinishMinecraftLoadCallback.EVENT.register(() -> {
// Has to be loaded before the settings system in order to catch the ChangeProtocolVersionCallback call
ClassicItemSelectionScreen.create();
// General settings
settingsSystem.init();
informationSystem.init();
// Mappings which requires Minecraft to be initialized
// Version related mappings
PackFormatsMappings.load();
ItemReleaseVersionMappings.create();
ArmorPointsMappings.load();