LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/LootTable.hpp
2022-09-21 19:47:03 +08:00

35 lines
852 B
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#include "Json.hpp"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class LootTable {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLE
public:
class LootTable& operator=(class LootTable const &) = delete;
LootTable(class LootTable const &) = delete;
LootTable() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLE
#endif
MCAPI void deserialize(class Json::Value);
MCAPI std::vector<class ItemStack> getRandomItems(class Random &, class LootTableContext &) const;
//private:
MCAPI std::vector<int> getAvailableSlots(class Container &, class Random &);
MCAPI void shuffleAndSplitItems(std::vector<class ItemStack> &, int, class Random &);
private:
};