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.CODEC
private final Optional
<PlainMessage> ItemBody.description
The field for thedescription
record component.static final com.mojang.serialization.MapCodec
<PlainMessage> PlainMessage.MAP_CODEC
Methods in net.minecraft.server.dialog.body that return types with arguments of type PlainMessageModifier and TypeMethodDescriptionItemBody.description()
Returns the value of thedescription
record 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 aItemBody
record class.