Uses of Record Class
net.minecraft.server.dialog.body.PlainMessage
Packages that use PlainMessage
-
Uses of PlainMessage in net.minecraft.client.gui.screens.dialog.body
Methods in net.minecraft.client.gui.screens.dialog.body with parameters of type PlainMessageModifier and TypeMethodDescriptionDialogBodyHandlers.PlainMessageHandler.createControls(DialogScreen<?> p_428310_, PlainMessage p_428489_) -
Uses of PlainMessage in net.minecraft.server.dialog.body
Fields in net.minecraft.server.dialog.body with type parameters of type PlainMessageModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlainMessage> PlainMessage.CODECprivate final Optional<PlainMessage> ItemBody.descriptionThe field for thedescriptionrecord component.static final com.mojang.serialization.MapCodec<PlainMessage> PlainMessage.MAP_CODECMethods in net.minecraft.server.dialog.body that return types with arguments of type PlainMessageModifier and TypeMethodDescriptionItemBody.description()Returns the value of thedescriptionrecord component.com.mojang.serialization.MapCodec<PlainMessage> PlainMessage.mapCodec()Constructor parameters in net.minecraft.server.dialog.body with type arguments of type PlainMessageModifierConstructorDescriptionItemBody(ItemStack item, Optional<PlainMessage> description, boolean showDecorations, boolean showTooltip, int width, int height) Creates an instance of aItemBodyrecord class.