Interface DialogItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DialogItem, DialogItem.Builder
@Generated
public interface DialogItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Item count/stack size to display.Optional description text below the item.com.google.protobuf.ByteStringOptional description text below the item.intDisplay height in pixels.Minecraft item identifier.com.google.protobuf.ByteStringMinecraft item identifier.booleanWhether to show the item frame decoration around the item.booleanWhether to show the item tooltip on hover.intgetWidth()Display width in pixels.booleanOptional description text below the item.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getItemId
String getItemId()Minecraft item identifier. Example: "minecraft:diamond", "minecraft:netherite_sword"
string item_id = 1;- Returns:
- The itemId.
-
getItemIdBytes
com.google.protobuf.ByteString getItemIdBytes()Minecraft item identifier. Example: "minecraft:diamond", "minecraft:netherite_sword"
string item_id = 1;- Returns:
- The bytes for itemId.
-
getCount
int getCount()Item count/stack size to display.
int32 count = 2;- Returns:
- The count.
-
hasDescription
boolean hasDescription()Optional description text below the item.
optional string description = 3;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()Optional description text below the item.
optional string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional description text below the item.
optional string description = 3;- Returns:
- The bytes for description.
-
getShowDecoration
boolean getShowDecoration()Whether to show the item frame decoration around the item. Default: true.
bool show_decoration = 4;- Returns:
- The showDecoration.
-
getShowTooltip
boolean getShowTooltip()Whether to show the item tooltip on hover. Default: true.
bool show_tooltip = 5;- Returns:
- The showTooltip.
-
getWidth
int getWidth()Display width in pixels. Range: 1-256, default: 16.
int32 width = 6;- Returns:
- The width.
-
getHeight
int getHeight()Display height in pixels. Range: 1-256, default: 16.
int32 height = 7;- Returns:
- The height.
-