3 #include "../BlockEntities/BlockEntity.h"
4 #include "../Entities/Entity.h"
const Vector3d & GetPosition(void) const
Exported in ManualBindings.
void SetOwner(cWindowOwner *a_Owner)
Base class for the window owning.
cWindow * GetWindow(void) const
void OpenWindow(cWindow *a_Window)
virtual Vector3i GetBlockPos(void)=0
Returns the block position at which the element owning the window is.
Window owner that is associated with a block entity (chest, furnace, ...)
cBlockEntity * m_BlockEntity
cBlockEntityWindowOwner(cBlockEntity *a_BlockEntity)
virtual Vector3i GetBlockPos(void) override
Returns the block position at which the element owning the window is.
Window owner that is associated with an entity (chest minecart etc.)
virtual Vector3i GetBlockPos(void) override
Returns the block position at which the element owning the window is.
cEntityWindowOwner(cEntity *a_Entity)
Vector3< int > Floor(void) const
Returns a new Vector3i with coords set to std::floor() of this vector's coords.