Skip to main content

CommandNodeExtraNodeDataCase2Parser

Struct CommandNodeExtraNodeDataCase2Parser 

Source
pub struct CommandNodeExtraNodeDataCase2Parser(pub i32);
Expand description

Mapped i32 value; unknown values are kept as-is.

Tuple Fields§

§0: i32

Implementations§

Source§

impl CommandNodeExtraNodeDataCase2Parser

Source

pub const BRIGADIER_BOOL: Self

brigadier:bool

Source

pub const BRIGADIER_FLOAT: Self

brigadier:float

Source

pub const BRIGADIER_DOUBLE: Self

brigadier:double

Source

pub const BRIGADIER_INTEGER: Self

brigadier:integer

Source

pub const BRIGADIER_LONG: Self

brigadier:long

Source

pub const BRIGADIER_STRING: Self

brigadier:string

Source

pub const MINECRAFT_ENTITY: Self

minecraft:entity

Source

pub const MINECRAFT_GAME_PROFILE: Self

minecraft:game_profile

Source

pub const MINECRAFT_BLOCK_POS: Self

minecraft:block_pos

Source

pub const MINECRAFT_COLUMN_POS: Self

minecraft:column_pos

Source

pub const MINECRAFT_VEC3: Self

minecraft:vec3

Source

pub const MINECRAFT_VEC2: Self

minecraft:vec2

Source

pub const MINECRAFT_BLOCK_STATE: Self

minecraft:block_state

Source

pub const MINECRAFT_BLOCK_PREDICATE: Self

minecraft:block_predicate

Source

pub const MINECRAFT_ITEM_STACK: Self

minecraft:item_stack

Source

pub const MINECRAFT_ITEM_PREDICATE: Self

minecraft:item_predicate

Source

pub const MINECRAFT_COLOR: Self

minecraft:color

Source

pub const MINECRAFT_HEX_COLOR: Self

minecraft:hex_color

Source

pub const MINECRAFT_COMPONENT: Self

minecraft:component

Source

pub const MINECRAFT_STYLE: Self

minecraft:style

Source

pub const MINECRAFT_MESSAGE: Self

minecraft:message

Source

pub const MINECRAFT_NBT: Self

minecraft:nbt

Source

pub const MINECRAFT_NBT_TAG: Self

minecraft:nbt_tag

Source

pub const MINECRAFT_NBT_PATH: Self

minecraft:nbt_path

Source

pub const MINECRAFT_OBJECTIVE: Self

minecraft:objective

Source

pub const MINECRAFT_OBJECTIVE_CRITERIA: Self

minecraft:objective_criteria

Source

pub const MINECRAFT_OPERATION: Self

minecraft:operation

Source

pub const MINECRAFT_PARTICLE: Self

minecraft:particle

Source

pub const MINECRAFT_ANGLE: Self

minecraft:angle

Source

pub const MINECRAFT_ROTATION: Self

minecraft:rotation

Source

pub const MINECRAFT_SCOREBOARD_SLOT: Self

minecraft:scoreboard_slot

Source

pub const MINECRAFT_SCORE_HOLDER: Self

minecraft:score_holder

Source

pub const MINECRAFT_SWIZZLE: Self

minecraft:swizzle

Source

pub const MINECRAFT_TEAM: Self

minecraft:team

Source

pub const MINECRAFT_ITEM_SLOT: Self

minecraft:item_slot

Source

pub const MINECRAFT_ITEM_SLOTS: Self

minecraft:item_slots

Source

pub const MINECRAFT_RESOURCE_LOCATION: Self

minecraft:resource_location

Source

pub const MINECRAFT_FUNCTION: Self

minecraft:function

Source

pub const MINECRAFT_ENTITY_ANCHOR: Self

minecraft:entity_anchor

Source

pub const MINECRAFT_INT_RANGE: Self

minecraft:int_range

Source

pub const MINECRAFT_FLOAT_RANGE: Self

minecraft:float_range

Source

pub const MINECRAFT_DIMENSION: Self

minecraft:dimension

Source

pub const MINECRAFT_GAMEMODE: Self

minecraft:gamemode

Source

pub const MINECRAFT_TIME: Self

minecraft:time

Source

pub const MINECRAFT_RESOURCE_OR_TAG: Self

minecraft:resource_or_tag

Source

pub const MINECRAFT_RESOURCE_OR_TAG_KEY: Self

minecraft:resource_or_tag_key

Source

pub const MINECRAFT_RESOURCE: Self

minecraft:resource

Source

pub const MINECRAFT_RESOURCE_KEY: Self

minecraft:resource_key

Source

pub const MINECRAFT_RESOURCE_SELECTOR: Self

minecraft:resource_selector

Source

pub const MINECRAFT_TEMPLATE_MIRROR: Self

minecraft:template_mirror

Source

pub const MINECRAFT_TEMPLATE_ROTATION: Self

minecraft:template_rotation

Source

pub const MINECRAFT_HEIGHTMAP: Self

minecraft:heightmap

Source

pub const MINECRAFT_LOOT_TABLE: Self

minecraft:loot_table

Source

pub const MINECRAFT_LOOT_PREDICATE: Self

minecraft:loot_predicate

Source

pub const MINECRAFT_LOOT_MODIFIER: Self

minecraft:loot_modifier

Source

pub const MINECRAFT_DIALOG: Self

minecraft:dialog

Source

pub const MINECRAFT_UUID: Self

minecraft:uuid

Source

pub const fn name(self) -> Option<&'static str>

minecraft-data name of the value, if known.

Trait Implementations§

Source§

impl Clone for CommandNodeExtraNodeDataCase2Parser

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for CommandNodeExtraNodeDataCase2Parser

Source§

impl Debug for CommandNodeExtraNodeDataCase2Parser

Available on crate feature v26_1 only.
Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CommandNodeExtraNodeDataCase2Parser

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for CommandNodeExtraNodeDataCase2Parser

Source§

impl Hash for CommandNodeExtraNodeDataCase2Parser

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for CommandNodeExtraNodeDataCase2Parser

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

fn clamp_to<R>(self, range: R) -> Self
where Self: Sized, R: ClampBounds<Self>,

🔬This is a nightly-only experimental API. (clamp_to)
Restrict a value to a certain range. Read more
Source§

impl PartialEq for CommandNodeExtraNodeDataCase2Parser

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for CommandNodeExtraNodeDataCase2Parser

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for CommandNodeExtraNodeDataCase2Parser

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.