pub enum BlockEntityKind {
Show 47 variants
Furnace,
Chest,
TrappedChest,
EnderChest,
Jukebox,
Dispenser,
Dropper,
Sign,
HangingSign,
MobSpawner,
CreakingHeart,
Piston,
BrewingStand,
EnchantingTable,
EndPortal,
Beacon,
Skull,
DaylightDetector,
Hopper,
Comparator,
Banner,
StructureBlock,
EndGateway,
CommandBlock,
ShulkerBox,
Bed,
Conduit,
Barrel,
Smoker,
BlastFurnace,
Lectern,
Bell,
Jigsaw,
Campfire,
Beehive,
SculkSensor,
CalibratedSculkSensor,
SculkCatalyst,
SculkShrieker,
ChiseledBookshelf,
BrushableBlock,
DecoratedPot,
Crafter,
TrialSpawner,
Vault,
TestBlock,
TestInstanceBlock,
}Variants§
Furnace
The block entity type furnace (ID 0).
Chest
The block entity type chest (ID 1).
TrappedChest
The block entity type trapped_chest (ID 2).
EnderChest
The block entity type ender_chest (ID 3).
Jukebox
The block entity type jukebox (ID 4).
Dispenser
The block entity type dispenser (ID 5).
Dropper
The block entity type dropper (ID 6).
Sign
The block entity type sign (ID 7).
HangingSign
The block entity type hanging_sign (ID 8).
MobSpawner
The block entity type mob_spawner (ID 9).
CreakingHeart
The block entity type creaking_heart (ID 10).
Piston
The block entity type piston (ID 11).
BrewingStand
The block entity type brewing_stand (ID 12).
EnchantingTable
The block entity type enchanting_table (ID 13).
EndPortal
The block entity type end_portal (ID 14).
Beacon
The block entity type beacon (ID 15).
Skull
The block entity type skull (ID 16).
DaylightDetector
The block entity type daylight_detector (ID 17).
Hopper
The block entity type hopper (ID 18).
Comparator
The block entity type comparator (ID 19).
Banner
The block entity type banner (ID 20).
StructureBlock
The block entity type structure_block (ID 21).
EndGateway
The block entity type end_gateway (ID 22).
CommandBlock
The block entity type command_block (ID 23).
ShulkerBox
The block entity type shulker_box (ID 24).
Bed
The block entity type bed (ID 25).
Conduit
The block entity type conduit (ID 26).
Barrel
The block entity type barrel (ID 27).
Smoker
The block entity type smoker (ID 28).
BlastFurnace
The block entity type blast_furnace (ID 29).
Lectern
The block entity type lectern (ID 30).
Bell
The block entity type bell (ID 31).
Jigsaw
The block entity type jigsaw (ID 32).
Campfire
The block entity type campfire (ID 33).
Beehive
The block entity type beehive (ID 34).
SculkSensor
The block entity type sculk_sensor (ID 35).
CalibratedSculkSensor
The block entity type calibrated_sculk_sensor (ID 36).
SculkCatalyst
The block entity type sculk_catalyst (ID 37).
SculkShrieker
The block entity type sculk_shrieker (ID 38).
ChiseledBookshelf
The block entity type chiseled_bookshelf (ID 39).
BrushableBlock
The block entity type brushable_block (ID 40).
DecoratedPot
The block entity type decorated_pot (ID 41).
Crafter
The block entity type crafter (ID 42).
TrialSpawner
The block entity type trial_spawner (ID 43).
Vault
The block entity type vault (ID 44).
TestBlock
The block entity type test_block (ID 45).
TestInstanceBlock
The block entity type test_instance_block (ID 46).
Implementations§
Trait Implementations§
Source§impl Clone for BlockEntityKind
impl Clone for BlockEntityKind
Source§fn clone(&self) -> BlockEntityKind
fn clone(&self) -> BlockEntityKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BlockEntityKind
impl Debug for BlockEntityKind
Source§impl<'a> Decode<'a> for BlockEntityKind
impl<'a> Decode<'a> for BlockEntityKind
Source§impl Encode for BlockEntityKind
impl Encode for BlockEntityKind
Source§impl Hash for BlockEntityKind
impl Hash for BlockEntityKind
Source§impl Ord for BlockEntityKind
impl Ord for BlockEntityKind
Source§fn cmp(&self, other: &BlockEntityKind) -> Ordering
fn cmp(&self, other: &BlockEntityKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for BlockEntityKind
impl PartialEq for BlockEntityKind
Source§impl PartialOrd for BlockEntityKind
impl PartialOrd for BlockEntityKind
impl Copy for BlockEntityKind
impl Eq for BlockEntityKind
impl StructuralPartialEq for BlockEntityKind
Auto Trait Implementations§
impl Freeze for BlockEntityKind
impl RefUnwindSafe for BlockEntityKind
impl Send for BlockEntityKind
impl Sync for BlockEntityKind
impl Unpin for BlockEntityKind
impl UnwindSafe for BlockEntityKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.