Oject keeping track if so called features
#1
Vanilla minecraft does keep track where it placed which structure (so called features).

I think this would make sense to add this too to cuberite. Features that need this:

- Limit mob spawning to locations (villagers, ...)
- eye of ender of fly route

Functions I would add to the object:

Code:
enum class eFeatures
{
    // List of all vanilla features...
};

bool IsFeatureAt(Vector3i, eFeature);
Vector3i GetNearestFeature(Vector3i, eFeature);
std::vector<Vector3i> GetAllFeatures(eFeatures);
Reply
Thanks given by:


Messages In This Thread
Oject keeping track if so called features - by 12xx12 - 09-20-2020, 01:34 AM



Users browsing this thread: 1 Guest(s)