You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fun GameProfile.getTextures() =Iterables.getFirst(this.properties.get("textures"), null)?.value
26
27
27
-
fun Component.toNative(): MutableText=Text.Serialization.fromJson(GsonComponentSerializer.gson().serialize(this), DynamicRegistryManager.EMPTY)?:Text.empty()
28
+
fun Component.toNative(wrapperLookup:RegistryWrapper.WrapperLookup): MutableText=Text.Serialization.fromJson(GsonComponentSerializer.gson().serialize(this), DynamicRegistryManager.EMPTY)?:Text.empty()
28
29
29
-
fun Text.toAdventure() =GsonComponentSerializer.gson().deserialize(Text.Serialization.toJsonString(this, DynamicRegistryManager.EMPTY))
30
+
fun Text.toAdventure(wrapperLookup:RegistryWrapper.WrapperLookup) =GsonComponentSerializer.gson().deserialize(Text.Serialization.toJsonString(this, wrapperLookup))
30
31
31
32
fun ServerPlayerEntity.isVanished() =FabricLoader.getInstance().isModLoaded("melius-vanish") &&VanishAPI.isVanished(this)
0 commit comments