Interface SlotRegionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SlotRegion, SlotRegion.Builder
@Generated
public interface SlotRegionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of columns for grid layout.getId()Unique identifier for this region within the container.com.google.protobuf.ByteStringUnique identifier for this region within the container.getLabel()Display label for this region.com.google.protobuf.ByteStringDisplay label for this region.intTotal number of slots in this region.intFirst slot index belonging to this region.getType()The type of region, affecting rendering behavior.intThe type of region, affecting rendering behavior.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()Unique identifier for this region within the container. Examples: "container", "player_inventory", "player_hotbar", "crafting_output"
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Unique identifier for this region within the container. Examples: "container", "player_inventory", "player_hotbar", "crafting_output"
string id = 1;- Returns:
- The bytes for id.
-
getLabel
String getLabel()Display label for this region. Examples: "Chest", "Inventory", "Hotbar", "Crafting Grid"
string label = 2;- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()Display label for this region. Examples: "Chest", "Inventory", "Hotbar", "Crafting Grid"
string label = 2;- Returns:
- The bytes for label.
-
getStartIndex
int getStartIndex()First slot index belonging to this region. Slots are numbered sequentially from 0 across all regions.
int32 start_index = 3;- Returns:
- The startIndex.
-
getSlotCount
int getSlotCount()Total number of slots in this region.
int32 slot_count = 4;- Returns:
- The slotCount.
-
getColumns
int getColumns()Number of columns for grid layout. Common values: 9 (standard inventory width), 3 (dispenser), 1 (armor column)
int32 columns = 5;- Returns:
- The columns.
-
getTypeValue
int getTypeValue()The type of region, affecting rendering behavior.
.soulfire.v1.SlotRegionType type = 6;- Returns:
- The enum numeric value on the wire for type.
-
getType
SlotRegionType getType()The type of region, affecting rendering behavior.
.soulfire.v1.SlotRegionType type = 6;- Returns:
- The type.
-