Enum BlockScreenEffect
pub enum BlockScreenEffect {
Fire,
Block,
Water,
}Expand description
Which of ScreenEffectRenderer’s overlays a block puts over the first-person view
(NeoForge’s RenderBlockScreenEffectEvent.OverlayType).
Variants§
Fire
The player is on fire: the fire sprite over the lower view.
Block
The camera is inside a view-blocking block: its particle texture.
Water
The eye is under water: the underwater texture.
Trait Implementations§
§impl Clone for BlockScreenEffect
impl Clone for BlockScreenEffect
§fn clone(&self) -> BlockScreenEffect
fn clone(&self) -> BlockScreenEffect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlockScreenEffect
§impl Debug for BlockScreenEffect
impl Debug for BlockScreenEffect
impl Eq for BlockScreenEffect
§impl PartialEq for BlockScreenEffect
impl PartialEq for BlockScreenEffect
impl StructuralPartialEq for BlockScreenEffect
Auto Trait Implementations§
impl Freeze for BlockScreenEffect
impl RefUnwindSafe for BlockScreenEffect
impl Send for BlockScreenEffect
impl Sync for BlockScreenEffect
impl Unpin for BlockScreenEffect
impl UnsafeUnpin for BlockScreenEffect
impl UnwindSafe for BlockScreenEffect
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
Mutably borrows from an owned value. Read more