mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-05 01:03:05 +00:00
21 lines
462 B
C++
21 lines
462 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#include "Feature.h"
|
|
#include "minecraft/world/level/material/Material.h"
|
|
|
|
class WeighedTreasure;
|
|
class Random;
|
|
|
|
class MonsterRoomFeature : public Feature {
|
|
private:
|
|
static const int TREASURE_ITEMS_COUNT = 15;
|
|
static WeighedTreasure* monsterRoomTreasure[TREASURE_ITEMS_COUNT];
|
|
|
|
public:
|
|
virtual bool place(Level* level, Random* random, int x, int y, int z);
|
|
|
|
private:
|
|
std::string randomEntityId(Random* random);
|
|
};
|