Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
673 B · 32 lines
C
at master
1234567891011121314151617181920212223242526272829303132#pragma once
class EntitySelector{public: static const EntitySelector *ENTITY_STILL_ALIVE; static const EntitySelector *CONTAINER_ENTITY_SELECTOR;
virtual bool matches(shared_ptr<Entity> entity) const = 0;};
class AliveEntitySelector : public EntitySelector{public: bool matches(shared_ptr<Entity> entity) const;};
class ContainerEntitySelector : public EntitySelector{public: bool matches(shared_ptr<Entity> entity) const;};
class MobCanWearArmourEntitySelector : public EntitySelector{private: shared_ptr<ItemInstance> item;
public: MobCanWearArmourEntitySelector(shared_ptr<ItemInstance> item); bool matches(shared_ptr<Entity> entity) const;};