Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
cClearMetaOnDrop< Base > Class Template Reference

Mixin to clear the block's meta value when converting to a pickup. More...

#include <Mixins.h>

Inheritance diagram for cClearMetaOnDrop< Base >:
Inheritance graph
[legend]
Collaboration diagram for cClearMetaOnDrop< Base >:
Collaboration graph
[legend]

Public Member Functions

constexpr cClearMetaOnDrop (BLOCKTYPE a_BlockType)
 

Protected Member Functions

 ~cClearMetaOnDrop ()=default
 

Private Member Functions

virtual cItems ConvertToPickups (const NIBBLETYPE a_BlockMeta, const cItem *const a_Tool) const override
 

Detailed Description

template<class Base>
class cClearMetaOnDrop< Base >

Mixin to clear the block's meta value when converting to a pickup.

Definition at line 29 of file Mixins.h.

Constructor & Destructor Documentation

◆ cClearMetaOnDrop()

template<class Base >
constexpr cClearMetaOnDrop< Base >::cClearMetaOnDrop ( BLOCKTYPE  a_BlockType)
inlineconstexpr

Definition at line 34 of file Mixins.h.

◆ ~cClearMetaOnDrop()

template<class Base >
cClearMetaOnDrop< Base >::~cClearMetaOnDrop ( )
protecteddefault

Member Function Documentation

◆ ConvertToPickups()

template<class Base >
virtual cItems cClearMetaOnDrop< Base >::ConvertToPickups ( const NIBBLETYPE  a_BlockMeta,
const cItem *const  a_Tool 
) const
inlineoverrideprivatevirtual

Definition at line 45 of file Mixins.h.


The documentation for this class was generated from the following file: