Skip to main content

Service

Trait Service 

Source
pub trait Service: Message {
    type Reply: Schema;

    const ADDRESS: &'static str;
    const KEY: Option<&'static str>;

    // Required methods
    fn key(&self) -> Option<&str>;
    fn address(&self) -> u32;

    // Provided method
    fn target(&self) -> String { ... }
}
Expand description

A call the bus carries: its payload is Self, its answer a Service::Reply.

Required Associated Constants§

Source

const ADDRESS: &'static str

Where it’s provided.

Source

const KEY: Option<&'static str>

The field whose value picks the provider’s branch (block_id: each block answers its own), if it’s keyed — see crate::keyed.

Required Associated Types§

Source

type Reply: Schema

What the provider answers.

Required Methods§

Source

fn key(&self) -> Option<&str>

The key field’s value, if it’s keyed.

Source

fn address(&self) -> u32

Service::target’s number — the type’s own address cached.

Provided Methods§

Source

fn target(&self) -> String

Where this call goes: the address, or its branch for the key.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Service for Actionbar

Source§

const ADDRESS: &'static str = ids::service_chat::ACTIONBAR

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for ActionbarJson

Source§

const ADDRESS: &'static str = ids::service_chat::ACTIONBAR_JSON

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Add

Source§

const ADDRESS: &'static str = ids::service_scoreboard::ADD

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<i32>

Source§

impl Service for AddEffect

Source§

const ADDRESS: &'static str = ids::service_entity::ADD_EFFECT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for AddPlayer

Source§

const ADDRESS: &'static str = ids::service_bossbar::ADD_PLAYER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for AddVelocity

Source§

const ADDRESS: &'static str = ids::service_entity::ADD_VELOCITY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for AddXp

Source§

const ADDRESS: &'static str = ids::service_player::ADD_XP

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for AdvancementDone

Source§

const ADDRESS: &'static str = ids::service_client::ADVANCEMENT_DONE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Area

Source§

const ADDRESS: &'static str = ids::service_client_local::AREA

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<BlockArea>

Source§

impl Service for Attack

Source§

const ADDRESS: &'static str = ids::service_client_control::ATTACK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for AttributeBase

Source§

const ADDRESS: &'static str = ids::service_entity::ATTRIBUTE_BASE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<f64>

Source§

impl Service for yog_api::client::AttributeValue

Source§

const ADDRESS: &'static str = ids::service_client::ATTRIBUTE_VALUE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<f64>

Source§

impl Service for yog_api::entity::AttributeValue

Source§

const ADDRESS: &'static str = ids::service_entity::ATTRIBUTE_VALUE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<f64>

Source§

impl Service for Block

Source§

const ADDRESS: &'static str = ids::service_item::BLOCK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for BodyTrack

Source§

const ADDRESS: &'static str = ids::service_client::BODY_TRACK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for BodyTrackType

Source§

const ADDRESS: &'static str = ids::service_client::BODY_TRACK_TYPE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Bonemeal

Source§

const ADDRESS: &'static str = ids::service_block::BONEMEAL

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Broadcast

Source§

const ADDRESS: &'static str = ids::service_chat::BROADCAST

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Call

Source§

const ADDRESS: &'static str = ids::service_jvm::CALL

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Value>

Source§

impl Service for Chat

Source§

const ADDRESS: &'static str = ids::service_client_control::CHAT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for ClearEffects

Source§

const ADDRESS: &'static str = ids::service_entity::CLEAR_EFFECTS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Click

Source§

const ADDRESS: &'static str = ids::service_client_control::CLICK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Close

Source§

const ADDRESS: &'static str = ids::service_ui::CLOSE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for CommandSpec

Source§

const ADDRESS: &'static str = ids::service_command::DECLARE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Create

Source§

const ADDRESS: &'static str = ids::service_bossbar::CREATE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Damage

Source§

const ADDRESS: &'static str = ids::service_entity::DAMAGE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Data

Source§

const ADDRESS: &'static str = ids::service_entity::DATA

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<DataValue>

Source§

impl Service for Declare

Source§

const ADDRESS: &'static str = ids::service_mirror::DECLARE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Declared

Source§

impl Service for yog_api::event::command::Declared

Source§

const ADDRESS: &'static str = ids::service_command::DECLARED

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<CommandSpec>

Source§

impl Service for yog_api::event::menu::Declared

Source§

const ADDRESS: &'static str = ids::service_menu::DECLARED

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<MenuEntry>

Source§

impl Service for yog_api::event::key_binding::Declared

Source§

const ADDRESS: &'static str = ids::service_key_binding::DECLARED

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<CategorizedBinding>

Source§

impl Service for Describe

Source§

const ADDRESS: &'static str = ids::service_bus::DESCRIBE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Descriptor>

Source§

impl Service for Descriptor

Source§

const ADDRESS: &'static str = ids::service_bus::DECLARE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Destroy

Source§

const ADDRESS: &'static str = ids::service_block::DESTROY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Dir

Source§

const ADDRESS: &'static str = ids::service_game::DIR

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for Dismount

Source§

const ADDRESS: &'static str = ids::service_entity::DISMOUNT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Done

Source§

const ADDRESS: &'static str = ids::service_advancement::DONE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Drive

Source§

const ADDRESS: &'static str = ids::service_client_control::DRIVE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for DropLoot

Source§

const ADDRESS: &'static str = ids::service_world::DROP_LOOT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Entities

Source§

const ADDRESS: &'static str = ids::service_client_local::ENTITIES

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<NearbyEntity>

Source§

impl Service for EntitiesInBox

Source§

const ADDRESS: &'static str = ids::service_world::ENTITIES_IN_BOX

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<String>

Source§

impl Service for EntityCount

Source§

const ADDRESS: &'static str = ids::service_world::ENTITY_COUNT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<u32>

Source§

impl Service for EntityData

Source§

const ADDRESS: &'static str = ids::service_client::ENTITY_DATA

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<DataValue>

Source§

impl Service for EntityStack

Source§

const ADDRESS: &'static str = ids::service_item::ENTITY_STACK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Stack>

Source§

impl Service for Explode

Source§

const ADDRESS: &'static str = ids::service_world::EXPLODE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for FillRegion

Source§

const ADDRESS: &'static str = ids::service_world::FILL_REGION

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<u32>

Source§

impl Service for Find

Source§

const ADDRESS: &'static str = ids::service_bus::FIND

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<String>

Source§

impl Service for Get

Source§

const ADDRESS: &'static str = ids::service_scoreboard::GET

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<i32>

Source§

impl Service for GetBlock

Source§

const ADDRESS: &'static str = ids::service_world::GET_BLOCK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for GiveItem

Source§

const ADDRESS: &'static str = ids::service_player::GIVE_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Grant

Source§

const ADDRESS: &'static str = ids::service_advancement::GRANT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for HasBlock

Source§

const ADDRESS: &'static str = ids::service_tag::HAS_BLOCK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for HasEntity

Source§

const ADDRESS: &'static str = ids::service_tag::HAS_ENTITY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for HasItem

Source§

const ADDRESS: &'static str = ids::service_tag::HAS_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Health

Source§

const ADDRESS: &'static str = ids::service_entity::HEALTH

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<f64>

Source§

impl Service for HeldItem

Source§

const ADDRESS: &'static str = ids::service_client::HELD_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Stack>

Source§

impl Service for HeldItemNbt

Source§

const ADDRESS: &'static str = ids::service_player::HELD_ITEM_NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for yog_api::block::Info

Source§

const ADDRESS: &'static str = ids::service_block::INFO

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<BlockInfo>

Source§

impl Service for yog_api::entity::Info

Source§

const ADDRESS: &'static str = ids::service_entity::INFO

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<EntityInfo>

Source§

impl Service for yog_api::player::Info

Source§

const ADDRESS: &'static str = ids::service_player::INFO

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<PlayerInfo>

Source§

impl Service for Insert

Source§

const ADDRESS: &'static str = ids::service_block::INSERT

Source§

const KEY: Option<&'static str>

Source§

type Reply = bool

Source§

impl Service for yog_api::client::local::Inventory

Source§

const ADDRESS: &'static str = ids::service_client_local::INVENTORY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<SlotStack>

Source§

impl Service for yog_api::player::Inventory

Source§

const ADDRESS: &'static str = ids::service_player::INVENTORY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<SlotStack>

Source§

impl Service for InventorySlot

Source§

const ADDRESS: &'static str = ids::service_block::INVENTORY_SLOT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Stack>

Source§

impl Service for IsRaining

Source§

const ADDRESS: &'static str = ids::service_world::IS_RAINING

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for IsThundering

Source§

const ADDRESS: &'static str = ids::service_world::IS_THUNDERING

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Items

Source§

const ADDRESS: &'static str = ids::service_tag::ITEMS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<String>

Source§

impl Service for KeyBindingSpec

Source§

const ADDRESS: &'static str = ids::service_key_binding::DECLARE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for KeyDown

Source§

const ADDRESS: &'static str = ids::service_client::KEY_DOWN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Keys

Source§

const ADDRESS: &'static str = ids::service_mirror::KEYS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<u32>

Source§

impl Service for Kick

Source§

const ADDRESS: &'static str = ids::service_player::KICK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Kill

Source§

const ADDRESS: &'static str = ids::service_entity::KILL

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for List

Source§

const ADDRESS: &'static str = ids::service_bus::LIST

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<String>

Source§

impl Service for Look

Source§

const ADDRESS: &'static str = ids::service_client_control::LOOK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for MenuEntry

Source§

const ADDRESS: &'static str = ids::service_menu::DECLARE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Mine

Source§

const ADDRESS: &'static str = ids::service_client_control::MINE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for ModLoaded

Source§

const ADDRESS: &'static str = ids::service_game::MOD_LOADED

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Mods

Source§

const ADDRESS: &'static str = ids::service_game::MODS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<ModInfo>

Source§

impl Service for Mount

Source§

const ADDRESS: &'static str = ids::service_entity::MOUNT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::block::Nbt

Source§

const ADDRESS: &'static str = ids::service_block::NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for yog_api::entity::Nbt

Source§

const ADDRESS: &'static str = ids::service_entity::NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for OffhandItemNbt

Source§

const ADDRESS: &'static str = ids::service_player::OFFHAND_ITEM_NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for Online

Source§

const ADDRESS: &'static str = ids::service_player::ONLINE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<String>

Source§

impl Service for Open

Source§

const ADDRESS: &'static str = ids::service_ui::OPEN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for OpenWithFlags

Source§

const ADDRESS: &'static str = ids::service_ui::OPEN_WITH_FLAGS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Passengers

Source§

const ADDRESS: &'static str = ids::service_entity::PASSENGERS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<String>

Source§

impl Service for Picture

Source§

const ADDRESS: &'static str = ids::service_item::PICTURE

Source§

const KEY: Option<&'static str>

Source§

type Reply = Option<[f32; 2]>

Source§

impl Service for Place

Source§

const ADDRESS: &'static str = ids::service_client_control::PLACE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for PlaceBlockFromSlot

Source§

const ADDRESS: &'static str = ids::service_player::PLACE_BLOCK_FROM_SLOT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for PlaceFeature

Source§

const ADDRESS: &'static str = ids::service_world::PLACE_FEATURE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for PlatformMods

Source§

const ADDRESS: &'static str = ids::service_game::PLATFORM_MODS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<ModInfo>

Source§

impl Service for Play

Source§

const ADDRESS: &'static str = ids::service_sound::PLAY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for PlaySound

Source§

const ADDRESS: &'static str = ids::service_client::PLAY_SOUND

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<i32>

Source§

impl Service for PlayToPlayer

Source§

const ADDRESS: &'static str = ids::service_sound::PLAY_TO_PLAYER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Position

Source§

const ADDRESS: &'static str = ids::service_entity::POSITION

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Point>

Source§

impl Service for PourFluid

Source§

const ADDRESS: &'static str = ids::service_block::POUR_FLUID

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Provide

Source§

const ADDRESS: &'static str = ids::service_mirror::PROVIDE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Diagnostic>

Source§

impl Service for RaycastBlock

Source§

const ADDRESS: &'static str = ids::service_world::RAYCAST_BLOCK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<BlockHit>

Source§

impl Service for RaycastEntity

Source§

const ADDRESS: &'static str = ids::service_world::RAYCAST_ENTITY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for RedstonePower

Source§

const ADDRESS: &'static str = ids::service_block::REDSTONE_POWER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<u8>

Source§

impl Service for RedstoneSignal

Source§

const ADDRESS: &'static str = ids::service_block::REDSTONE_SIGNAL

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<u8>

Source§

impl Service for Register

Source§

const ADDRESS: &'static str = ids::service_content::REGISTER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::event::mirror::Release

Source§

const ADDRESS: &'static str = ids::service_mirror::RELEASE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::client::control::Release

Source§

const ADDRESS: &'static str = ids::service_client_control::RELEASE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Remove

Source§

const ADDRESS: &'static str = ids::service_bossbar::REMOVE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for RemoveEffect

Source§

const ADDRESS: &'static str = ids::service_entity::REMOVE_EFFECT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for RemovePlayer

Source§

const ADDRESS: &'static str = ids::service_bossbar::REMOVE_PLAYER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Rotation

Source§

const ADDRESS: &'static str = ids::service_entity::ROTATION

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Rotation>

Source§

impl Service for Scan

Source§

const ADDRESS: &'static str = ids::service_client_local::SCAN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<PlacedBlock>

Source§

impl Service for ScanRegion

Source§

const ADDRESS: &'static str = ids::service_world::SCAN_REGION

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<PlacedBlock>

Source§

impl Service for ScreenSlots

Source§

const ADDRESS: &'static str = ids::service_client::SCREEN_SLOTS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Vec<ScreenSlot>

Source§

impl Service for SelectSlot

Source§

const ADDRESS: &'static str = ids::service_client_control::SELECT_SLOT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SendToPlayer

Source§

const ADDRESS: &'static str = ids::service_net::SEND_TO_PLAYER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SendToServer

Source§

const ADDRESS: &'static str = ids::service_net::SEND_TO_SERVER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Set

Source§

const ADDRESS: &'static str = ids::service_scoreboard::SET

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetAttributeBase

Source§

const ADDRESS: &'static str = ids::service_entity::SET_ATTRIBUTE_BASE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetBlock

Source§

const ADDRESS: &'static str = ids::service_world::SET_BLOCK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetBlockTint

Source§

const ADDRESS: &'static str = ids::service_client::SET_BLOCK_TINT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetColor

Source§

const ADDRESS: &'static str = ids::service_bossbar::SET_COLOR

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetData

Source§

const ADDRESS: &'static str = ids::service_entity::SET_DATA

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::entity::SetDimensions

Source§

const ADDRESS: &'static str = ids::service_entity::SET_DIMENSIONS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::client::SetDimensions

Source§

const ADDRESS: &'static str = ids::service_client::SET_DIMENSIONS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetEntityStack

Source§

const ADDRESS: &'static str = ids::service_item::SET_ENTITY_STACK

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetFallDistance

Source§

const ADDRESS: &'static str = ids::service_entity::SET_FALL_DISTANCE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetFireTicks

Source§

const ADDRESS: &'static str = ids::service_entity::SET_FIRE_TICKS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetGamemode

Source§

const ADDRESS: &'static str = ids::service_player::SET_GAMEMODE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetHealth

Source§

const ADDRESS: &'static str = ids::service_entity::SET_HEALTH

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetHeldItemNbt

Source§

const ADDRESS: &'static str = ids::service_player::SET_HELD_ITEM_NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetInventorySlot

Source§

const ADDRESS: &'static str = ids::service_block::SET_INVENTORY_SLOT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetItemCooldown

Source§

const ADDRESS: &'static str = ids::service_player::SET_ITEM_COOLDOWN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetMayFly

Source§

const ADDRESS: &'static str = ids::service_player::SET_MAY_FLY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::block::SetNbt

Source§

const ADDRESS: &'static str = ids::service_block::SET_NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::entity::SetNbt

Source§

const ADDRESS: &'static str = ids::service_entity::SET_NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetOffhandItemNbt

Source§

const ADDRESS: &'static str = ids::service_player::SET_OFFHAND_ITEM_NBT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetProgress

Source§

const ADDRESS: &'static str = ids::service_bossbar::SET_PROGRESS

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetRedstoneOutput

Source§

const ADDRESS: &'static str = ids::service_block::SET_REDSTONE_OUTPUT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetSlot

Source§

const ADDRESS: &'static str = ids::service_player::SET_SLOT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetSlotItem

Source§

const ADDRESS: &'static str = ids::service_player::SET_SLOT_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetState

Source§

const ADDRESS: &'static str = ids::service_block::SET_STATE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetThunder

Source§

const ADDRESS: &'static str = ids::service_world::SET_THUNDER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetTime

Source§

const ADDRESS: &'static str = ids::service_world::SET_TIME

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetTitle

Source§

const ADDRESS: &'static str = ids::service_bossbar::SET_TITLE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetVelocity

Source§

const ADDRESS: &'static str = ids::service_entity::SET_VELOCITY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetVisible

Source§

const ADDRESS: &'static str = ids::service_bossbar::SET_VISIBLE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SetWeather

Source§

const ADDRESS: &'static str = ids::service_world::SET_WEATHER

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for SlotItem

Source§

const ADDRESS: &'static str = ids::service_player::SLOT_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Stack>

Source§

impl Service for Spawn

Source§

const ADDRESS: &'static str = ids::service_entity::SPAWN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for SpawnItem

Source§

const ADDRESS: &'static str = ids::service_item::SPAWN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for SpawnParticles

Source§

const ADDRESS: &'static str = ids::service_particle::SPAWN

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::block::State

Source§

const ADDRESS: &'static str = ids::service_block::STATE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for yog_api::client::local::State

Source§

const ADDRESS: &'static str = ids::service_client_local::STATE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<LocalState>

Source§

impl Service for StopMining

Source§

const ADDRESS: &'static str = ids::service_client_control::STOP_MINING

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for StopSound

Source§

const ADDRESS: &'static str = ids::service_client::STOP_SOUND

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::entity::Teleport

Source§

const ADDRESS: &'static str = ids::service_entity::TELEPORT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::player::Teleport

Source§

const ADDRESS: &'static str = ids::service_player::TELEPORT

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::entity::TeleportToDim

Source§

const ADDRESS: &'static str = ids::service_entity::TELEPORT_TO_DIM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::player::TeleportToDim

Source§

const ADDRESS: &'static str = ids::service_player::TELEPORT_TO_DIM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Tellraw

Source§

const ADDRESS: &'static str = ids::service_chat::TELLRAW

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Text

Source§

const ADDRESS: &'static str = ids::service_item::TEXT

Source§

const KEY: Option<&'static str>

Source§

type Reply = Option<Shown>

Source§

impl Service for Time

Source§

const ADDRESS: &'static str = ids::service_world::TIME

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<i64>

Source§

impl Service for Title

Source§

const ADDRESS: &'static str = ids::service_chat::TITLE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Touch

Source§

const ADDRESS: &'static str = ids::service_mirror::TOUCH

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Translate

Source§

const ADDRESS: &'static str = ids::service_game::TRANSLATE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for yog_api::block::UseItem

Source§

const ADDRESS: &'static str = ids::service_block::USE_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for yog_api::client::control::UseItem

Source§

const ADDRESS: &'static str = ids::service_client_control::USE_ITEM

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = bool

Source§

impl Service for Vehicle

Source§

const ADDRESS: &'static str = ids::service_entity::VEHICLE

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>

Source§

impl Service for Velocity

Source§

const ADDRESS: &'static str = ids::service_entity::VELOCITY

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<Point>

Source§

impl Service for WorldDir

Source§

const ADDRESS: &'static str = ids::service_game::WORLD_DIR

Source§

const KEY: Option<&'static str> = None

Source§

type Reply = Option<String>