Class ComponentSerializerMixin
java.lang.Object
net.kyori.adventure.platform.fabric.impl.mixin.ComponentSerializerMixin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadventure$writeComponentText(net.minecraft.network.chat.Component text, Type type, com.google.gson.JsonSerializationContext ctx, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<com.google.gson.JsonElement> cir) abstract com.google.gson.JsonElementshadow$serialize(net.minecraft.network.chat.Component text, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
ComponentSerializerMixin
public ComponentSerializerMixin()
-
-
Method Details
-
shadow$serialize
public abstract com.google.gson.JsonElement shadow$serialize(net.minecraft.network.chat.Component text, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) -
adventure$writeComponentText
public void adventure$writeComponentText(net.minecraft.network.chat.Component text, Type type, com.google.gson.JsonSerializationContext ctx, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<com.google.gson.JsonElement> cir)
-