Class AdventureCommon
java.lang.Object
net.kyori.adventure.platform.fabric.impl.AdventureCommon
- All Implemented Interfaces:
net.fabricmc.api.ModInitializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.kyori.adventure.text.flattener.ComponentFlattenerstatic final Stringstatic final SidedProxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull net.minecraft.network.chat.ChatType.BoundchatTypeToNative(@NotNull net.kyori.adventure.chat.ChatType.Bound bound, FabricAudiencesInternal audiences) voidstatic net.kyori.adventure.pointer.Pointeredpointered(net.kyori.adventure.platform.fabric.impl.AdventureCommon.FPointered pointers)
-
Field Details
-
SIDE_PROXY
-
FLATTENER
public static final net.kyori.adventure.text.flattener.ComponentFlattener FLATTENER -
MOD_FAPI_NETWORKING
- See Also:
-
-
Constructor Details
-
AdventureCommon
public AdventureCommon()
-
-
Method Details
-
onInitialize
public void onInitialize()- Specified by:
onInitializein interfacenet.fabricmc.api.ModInitializer
-
localePartition
-
pointered
public static net.kyori.adventure.pointer.Pointered pointered(net.kyori.adventure.platform.fabric.impl.AdventureCommon.FPointered pointers) -
chatTypeToNative
public static @NotNull net.minecraft.network.chat.ChatType.Bound chatTypeToNative(@NotNull net.kyori.adventure.chat.ChatType.Bound bound, FabricAudiencesInternal audiences)
-