Class BotLiveState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotLiveState.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotLiveState.Builder>
com.soulfiremc.grpc.generated.BotLiveState.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotLiveStateOrBuilder, Cloneable
- Enclosing class:
BotLiveState
public static final class BotLiveState.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BotLiveState.Builder>
implements BotLiveStateOrBuilder
Real-time state of a connected bot. Contains position, health, inventory, and other live game data.Protobuf type
soulfire.v1.BotLiveState-
Method Summary
Modifier and TypeMethodDescriptionaddAllInventory(Iterable<? extends InventorySlot> values) Inventory slots containing items (only non-empty slots are included).addInventory(int index, InventorySlot value) Inventory slots containing items (only non-empty slots are included).addInventory(int index, InventorySlot.Builder builderForValue) Inventory slots containing items (only non-empty slots are included).addInventory(InventorySlot value) Inventory slots containing items (only non-empty slots are included).addInventory(InventorySlot.Builder builderForValue) Inventory slots containing items (only non-empty slots are included).Inventory slots containing items (only non-empty slots are included).addInventoryBuilder(int index) Inventory slots containing items (only non-empty slots are included).build()clear()The dimension the player is currently in.Player's current experience level (the number shown on the XP bar).Progress towards the next experience level.Current hunger/food level.Current game mode of the player.Current health points.Inventory slots containing items (only non-empty slots are included).Maximum health points the player can have.Current saturation level.Currently selected hotbar slot index.Skin texture hash for avatar rendering.clearX()X coordinate in the Minecraft world (east/west axis).Vertical rotation (pitch) in degrees.clearY()Y coordinate in the Minecraft world (vertical axis).Horizontal rotation (yaw) in degrees.clearZ()Z coordinate in the Minecraft world (north/south axis).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe dimension the player is currently in.com.google.protobuf.ByteStringThe dimension the player is currently in.intPlayer's current experience level (the number shown on the XP bar).floatProgress towards the next experience level.intCurrent hunger/food level.Current game mode of the player.intCurrent game mode of the player.floatCurrent health points.getInventory(int index) Inventory slots containing items (only non-empty slots are included).getInventoryBuilder(int index) Inventory slots containing items (only non-empty slots are included).Inventory slots containing items (only non-empty slots are included).intInventory slots containing items (only non-empty slots are included).Inventory slots containing items (only non-empty slots are included).getInventoryOrBuilder(int index) Inventory slots containing items (only non-empty slots are included).List<? extends InventorySlotOrBuilder> Inventory slots containing items (only non-empty slots are included).floatMaximum health points the player can have.floatCurrent saturation level.intCurrently selected hotbar slot index.Skin texture hash for avatar rendering.com.google.protobuf.ByteStringSkin texture hash for avatar rendering.doublegetX()X coordinate in the Minecraft world (east/west axis).floatgetXRot()Vertical rotation (pitch) in degrees.doublegetY()Y coordinate in the Minecraft world (vertical axis).floatgetYRot()Horizontal rotation (yaw) in degrees.doublegetZ()Z coordinate in the Minecraft world (north/south axis).booleanSkin texture hash for avatar rendering.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BotLiveState other) removeInventory(int index) Inventory slots containing items (only non-empty slots are included).setDimension(String value) The dimension the player is currently in.setDimensionBytes(com.google.protobuf.ByteString value) The dimension the player is currently in.setExperienceLevel(int value) Player's current experience level (the number shown on the XP bar).setExperienceProgress(float value) Progress towards the next experience level.setFoodLevel(int value) Current hunger/food level.setGameMode(GameMode value) Current game mode of the player.setGameModeValue(int value) Current game mode of the player.setHealth(float value) Current health points.setInventory(int index, InventorySlot value) Inventory slots containing items (only non-empty slots are included).setInventory(int index, InventorySlot.Builder builderForValue) Inventory slots containing items (only non-empty slots are included).setMaxHealth(float value) Maximum health points the player can have.setSaturationLevel(float value) Current saturation level.setSelectedHotbarSlot(int value) Currently selected hotbar slot index.setSkinTextureHash(String value) Skin texture hash for avatar rendering.setSkinTextureHashBytes(com.google.protobuf.ByteString value) Skin texture hash for avatar rendering.setX(double value) X coordinate in the Minecraft world (east/west axis).setXRot(float value) Vertical rotation (pitch) in degrees.setY(double value) Y coordinate in the Minecraft world (vertical axis).setYRot(float value) Horizontal rotation (yaw) in degrees.setZ(double value) Z coordinate in the Minecraft world (north/south axis).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BotLiveState.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BotLiveState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BotLiveState.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotLiveState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BotLiveState.Builder>
-
mergeFrom
public BotLiveState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotLiveState.Builder>- Throws:
IOException
-
getX
public double getX()X coordinate in the Minecraft world (east/west axis). East is positive, West is negative.
double x = 1;- Specified by:
getXin interfaceBotLiveStateOrBuilder- Returns:
- The x.
-
setX
X coordinate in the Minecraft world (east/west axis). East is positive, West is negative.
double x = 1;- Parameters:
value- The x to set.- Returns:
- This builder for chaining.
-
clearX
X coordinate in the Minecraft world (east/west axis). East is positive, West is negative.
double x = 1;- Returns:
- This builder for chaining.
-
getY
public double getY()Y coordinate in the Minecraft world (vertical axis). Increases upward. Sea level is typically around 63.
double y = 2;- Specified by:
getYin interfaceBotLiveStateOrBuilder- Returns:
- The y.
-
setY
Y coordinate in the Minecraft world (vertical axis). Increases upward. Sea level is typically around 63.
double y = 2;- Parameters:
value- The y to set.- Returns:
- This builder for chaining.
-
clearY
Y coordinate in the Minecraft world (vertical axis). Increases upward. Sea level is typically around 63.
double y = 2;- Returns:
- This builder for chaining.
-
getZ
public double getZ()Z coordinate in the Minecraft world (north/south axis). South is positive, North is negative.
double z = 3;- Specified by:
getZin interfaceBotLiveStateOrBuilder- Returns:
- The z.
-
setZ
Z coordinate in the Minecraft world (north/south axis). South is positive, North is negative.
double z = 3;- Parameters:
value- The z to set.- Returns:
- This builder for chaining.
-
clearZ
Z coordinate in the Minecraft world (north/south axis). South is positive, North is negative.
double z = 3;- Returns:
- This builder for chaining.
-
getXRot
public float getXRot()Vertical rotation (pitch) in degrees. Range: -90 (looking straight up) to 90 (looking straight down). 0 is looking at the horizon.
float xRot = 4;- Specified by:
getXRotin interfaceBotLiveStateOrBuilder- Returns:
- The xRot.
-
setXRot
Vertical rotation (pitch) in degrees. Range: -90 (looking straight up) to 90 (looking straight down). 0 is looking at the horizon.
float xRot = 4;- Parameters:
value- The xRot to set.- Returns:
- This builder for chaining.
-
clearXRot
Vertical rotation (pitch) in degrees. Range: -90 (looking straight up) to 90 (looking straight down). 0 is looking at the horizon.
float xRot = 4;- Returns:
- This builder for chaining.
-
getYRot
public float getYRot()Horizontal rotation (yaw) in degrees. Range: -180 to 180. 0 = South, 90 = West, -90 = East, +/-180 = North.
float yRot = 5;- Specified by:
getYRotin interfaceBotLiveStateOrBuilder- Returns:
- The yRot.
-
setYRot
Horizontal rotation (yaw) in degrees. Range: -180 to 180. 0 = South, 90 = West, -90 = East, +/-180 = North.
float yRot = 5;- Parameters:
value- The yRot to set.- Returns:
- This builder for chaining.
-
clearYRot
Horizontal rotation (yaw) in degrees. Range: -180 to 180. 0 = South, 90 = West, -90 = East, +/-180 = North.
float yRot = 5;- Returns:
- This builder for chaining.
-
getHealth
public float getHealth()Current health points. Range: 0 (dead) to max_health. 1 point = half a heart in the UI.
float health = 6;- Specified by:
getHealthin interfaceBotLiveStateOrBuilder- Returns:
- The health.
-
setHealth
Current health points. Range: 0 (dead) to max_health. 1 point = half a heart in the UI.
float health = 6;- Parameters:
value- The health to set.- Returns:
- This builder for chaining.
-
clearHealth
Current health points. Range: 0 (dead) to max_health. 1 point = half a heart in the UI.
float health = 6;- Returns:
- This builder for chaining.
-
getMaxHealth
public float getMaxHealth()Maximum health points the player can have. Default is 20 (10 hearts). Can be modified by effects or attributes.
float max_health = 7;- Specified by:
getMaxHealthin interfaceBotLiveStateOrBuilder- Returns:
- The maxHealth.
-
setMaxHealth
Maximum health points the player can have. Default is 20 (10 hearts). Can be modified by effects or attributes.
float max_health = 7;- Parameters:
value- The maxHealth to set.- Returns:
- This builder for chaining.
-
clearMaxHealth
Maximum health points the player can have. Default is 20 (10 hearts). Can be modified by effects or attributes.
float max_health = 7;- Returns:
- This builder for chaining.
-
getFoodLevel
public int getFoodLevel()Current hunger/food level. Range: 0 (starving) to 20 (full). 1 point = half a drumstick in the UI. Below 6, the player cannot sprint. At 0, health starts draining.
int32 food_level = 8;- Specified by:
getFoodLevelin interfaceBotLiveStateOrBuilder- Returns:
- The foodLevel.
-
setFoodLevel
Current hunger/food level. Range: 0 (starving) to 20 (full). 1 point = half a drumstick in the UI. Below 6, the player cannot sprint. At 0, health starts draining.
int32 food_level = 8;- Parameters:
value- The foodLevel to set.- Returns:
- This builder for chaining.
-
clearFoodLevel
Current hunger/food level. Range: 0 (starving) to 20 (full). 1 point = half a drumstick in the UI. Below 6, the player cannot sprint. At 0, health starts draining.
int32 food_level = 8;- Returns:
- This builder for chaining.
-
getSaturationLevel
public float getSaturationLevel()Current saturation level. Range: 0 to food_level. Acts as a buffer before hunger depletes. When saturation is above 0, hunger bar doesn't decrease while performing actions.
float saturation_level = 9;- Specified by:
getSaturationLevelin interfaceBotLiveStateOrBuilder- Returns:
- The saturationLevel.
-
setSaturationLevel
Current saturation level. Range: 0 to food_level. Acts as a buffer before hunger depletes. When saturation is above 0, hunger bar doesn't decrease while performing actions.
float saturation_level = 9;- Parameters:
value- The saturationLevel to set.- Returns:
- This builder for chaining.
-
clearSaturationLevel
Current saturation level. Range: 0 to food_level. Acts as a buffer before hunger depletes. When saturation is above 0, hunger bar doesn't decrease while performing actions.
float saturation_level = 9;- Returns:
- This builder for chaining.
-
getInventoryList
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10;- Specified by:
getInventoryListin interfaceBotLiveStateOrBuilder
-
getInventoryCount
public int getInventoryCount()Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10;- Specified by:
getInventoryCountin interfaceBotLiveStateOrBuilder
-
getInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10;- Specified by:
getInventoryin interfaceBotLiveStateOrBuilder
-
setInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
setInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
addInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
addInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
addInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
addInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
addAllInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
clearInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
removeInventory
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
getInventoryBuilder
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
getInventoryOrBuilder
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10;- Specified by:
getInventoryOrBuilderin interfaceBotLiveStateOrBuilder
-
getInventoryOrBuilderList
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10;- Specified by:
getInventoryOrBuilderListin interfaceBotLiveStateOrBuilder
-
addInventoryBuilder
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
addInventoryBuilder
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
getInventoryBuilderList
Inventory slots containing items (only non-empty slots are included). For list views (GetBotList), this will be empty for performance. For detail views (GetBotInfo), contains all non-empty slots from the player inventory.
repeated .soulfire.v1.InventorySlot inventory = 10; -
getSelectedHotbarSlot
public int getSelectedHotbarSlot()Currently selected hotbar slot index. Range: 0 to 8, corresponding to hotbar slots 1-9 in the UI.
int32 selected_hotbar_slot = 11;- Specified by:
getSelectedHotbarSlotin interfaceBotLiveStateOrBuilder- Returns:
- The selectedHotbarSlot.
-
setSelectedHotbarSlot
Currently selected hotbar slot index. Range: 0 to 8, corresponding to hotbar slots 1-9 in the UI.
int32 selected_hotbar_slot = 11;- Parameters:
value- The selectedHotbarSlot to set.- Returns:
- This builder for chaining.
-
clearSelectedHotbarSlot
Currently selected hotbar slot index. Range: 0 to 8, corresponding to hotbar slots 1-9 in the UI.
int32 selected_hotbar_slot = 11;- Returns:
- This builder for chaining.
-
getDimension
The dimension the player is currently in. Format: namespaced identifier (e.g., "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"). Custom dimensions will use their server-defined namespace.
string dimension = 12;- Specified by:
getDimensionin interfaceBotLiveStateOrBuilder- Returns:
- The dimension.
-
getDimensionBytes
public com.google.protobuf.ByteString getDimensionBytes()The dimension the player is currently in. Format: namespaced identifier (e.g., "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"). Custom dimensions will use their server-defined namespace.
string dimension = 12;- Specified by:
getDimensionBytesin interfaceBotLiveStateOrBuilder- Returns:
- The bytes for dimension.
-
setDimension
The dimension the player is currently in. Format: namespaced identifier (e.g., "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"). Custom dimensions will use their server-defined namespace.
string dimension = 12;- Parameters:
value- The dimension to set.- Returns:
- This builder for chaining.
-
clearDimension
The dimension the player is currently in. Format: namespaced identifier (e.g., "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"). Custom dimensions will use their server-defined namespace.
string dimension = 12;- Returns:
- This builder for chaining.
-
setDimensionBytes
The dimension the player is currently in. Format: namespaced identifier (e.g., "minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"). Custom dimensions will use their server-defined namespace.
string dimension = 12;- Parameters:
value- The bytes for dimension to set.- Returns:
- This builder for chaining.
-
getExperienceLevel
public int getExperienceLevel()Player's current experience level (the number shown on the XP bar). Range: 0 to theoretically unlimited (typically 0-30+ for enchanting).
int32 experience_level = 13;- Specified by:
getExperienceLevelin interfaceBotLiveStateOrBuilder- Returns:
- The experienceLevel.
-
setExperienceLevel
Player's current experience level (the number shown on the XP bar). Range: 0 to theoretically unlimited (typically 0-30+ for enchanting).
int32 experience_level = 13;- Parameters:
value- The experienceLevel to set.- Returns:
- This builder for chaining.
-
clearExperienceLevel
Player's current experience level (the number shown on the XP bar). Range: 0 to theoretically unlimited (typically 0-30+ for enchanting).
int32 experience_level = 13;- Returns:
- This builder for chaining.
-
getExperienceProgress
public float getExperienceProgress()Progress towards the next experience level. Range: 0.0 (just reached current level) to 1.0 (about to level up).
float experience_progress = 14;- Specified by:
getExperienceProgressin interfaceBotLiveStateOrBuilder- Returns:
- The experienceProgress.
-
setExperienceProgress
Progress towards the next experience level. Range: 0.0 (just reached current level) to 1.0 (about to level up).
float experience_progress = 14;- Parameters:
value- The experienceProgress to set.- Returns:
- This builder for chaining.
-
clearExperienceProgress
Progress towards the next experience level. Range: 0.0 (just reached current level) to 1.0 (about to level up).
float experience_progress = 14;- Returns:
- This builder for chaining.
-
hasSkinTextureHash
public boolean hasSkinTextureHash()Skin texture hash for avatar rendering. This is the hash extracted from the texture URL in the player's game profile. Can be used with services like mc-heads.net: https://mc-heads.net/body/<hash> Will be absent if the player has no custom skin or skin data is unavailable.
optional string skin_texture_hash = 15;- Specified by:
hasSkinTextureHashin interfaceBotLiveStateOrBuilder- Returns:
- Whether the skinTextureHash field is set.
-
getSkinTextureHash
Skin texture hash for avatar rendering. This is the hash extracted from the texture URL in the player's game profile. Can be used with services like mc-heads.net: https://mc-heads.net/body/<hash> Will be absent if the player has no custom skin or skin data is unavailable.
optional string skin_texture_hash = 15;- Specified by:
getSkinTextureHashin interfaceBotLiveStateOrBuilder- Returns:
- The skinTextureHash.
-
getSkinTextureHashBytes
public com.google.protobuf.ByteString getSkinTextureHashBytes()Skin texture hash for avatar rendering. This is the hash extracted from the texture URL in the player's game profile. Can be used with services like mc-heads.net: https://mc-heads.net/body/<hash> Will be absent if the player has no custom skin or skin data is unavailable.
optional string skin_texture_hash = 15;- Specified by:
getSkinTextureHashBytesin interfaceBotLiveStateOrBuilder- Returns:
- The bytes for skinTextureHash.
-
setSkinTextureHash
Skin texture hash for avatar rendering. This is the hash extracted from the texture URL in the player's game profile. Can be used with services like mc-heads.net: https://mc-heads.net/body/<hash> Will be absent if the player has no custom skin or skin data is unavailable.
optional string skin_texture_hash = 15;- Parameters:
value- The skinTextureHash to set.- Returns:
- This builder for chaining.
-
clearSkinTextureHash
Skin texture hash for avatar rendering. This is the hash extracted from the texture URL in the player's game profile. Can be used with services like mc-heads.net: https://mc-heads.net/body/<hash> Will be absent if the player has no custom skin or skin data is unavailable.
optional string skin_texture_hash = 15;- Returns:
- This builder for chaining.
-
setSkinTextureHashBytes
Skin texture hash for avatar rendering. This is the hash extracted from the texture URL in the player's game profile. Can be used with services like mc-heads.net: https://mc-heads.net/body/<hash> Will be absent if the player has no custom skin or skin data is unavailable.
optional string skin_texture_hash = 15;- Parameters:
value- The bytes for skinTextureHash to set.- Returns:
- This builder for chaining.
-
getGameModeValue
public int getGameModeValue()Current game mode of the player. Determines available actions (breaking blocks, flying, taking damage, etc.).
.soulfire.v1.GameMode game_mode = 16;- Specified by:
getGameModeValuein interfaceBotLiveStateOrBuilder- Returns:
- The enum numeric value on the wire for gameMode.
-
setGameModeValue
Current game mode of the player. Determines available actions (breaking blocks, flying, taking damage, etc.).
.soulfire.v1.GameMode game_mode = 16;- Parameters:
value- The enum numeric value on the wire for gameMode to set.- Returns:
- This builder for chaining.
-
getGameMode
Current game mode of the player. Determines available actions (breaking blocks, flying, taking damage, etc.).
.soulfire.v1.GameMode game_mode = 16;- Specified by:
getGameModein interfaceBotLiveStateOrBuilder- Returns:
- The gameMode.
-
setGameMode
Current game mode of the player. Determines available actions (breaking blocks, flying, taking damage, etc.).
.soulfire.v1.GameMode game_mode = 16;- Parameters:
value- The gameMode to set.- Returns:
- This builder for chaining.
-
clearGameMode
Current game mode of the player. Determines available actions (breaking blocks, flying, taking damage, etc.).
.soulfire.v1.GameMode game_mode = 16;- Returns:
- This builder for chaining.
-