Interface RegistryEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegistryEntry, RegistryEntry.Builder
@Generated
public interface RegistryEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional category/group for organizing in UI.com.google.protobuf.ByteStringOptional category/group for organizing in UI.Human-readable display name.com.google.protobuf.ByteStringHuman-readable display name.getIcon()Optional icon or texture identifier.com.google.protobuf.ByteStringOptional icon or texture identifier.getId()The namespaced identifier (e.g., "minecraft:diamond_ore").com.google.protobuf.ByteStringThe namespaced identifier (e.g., "minecraft:diamond_ore").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
-
getId
String getId()The namespaced identifier (e.g., "minecraft:diamond_ore").
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The namespaced identifier (e.g., "minecraft:diamond_ore").
string id = 1;- Returns:
- The bytes for id.
-
getDisplayName
String getDisplayName()Human-readable display name.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Human-readable display name.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getIcon
-
getIconBytes
com.google.protobuf.ByteString getIconBytes()Optional icon or texture identifier.
string icon = 3;- Returns:
- The bytes for icon.
-
getCategory
String getCategory()Optional category/group for organizing in UI.
string category = 4;- Returns:
- The category.
-
getCategoryBytes
com.google.protobuf.ByteString getCategoryBytes()Optional category/group for organizing in UI.
string category = 4;- Returns:
- The bytes for category.
-