Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
16 lines
303 B
C++
16 lines
303 B
C++
#pragma once
|
|
|
|
#include "WeighedRandom.h"
|
|
|
|
class EnchantmentInstance : public WeighedRandomItem
|
|
{
|
|
public:
|
|
const Enchantment *enchantment;
|
|
const int level;
|
|
|
|
EnchantmentInstance(Enchantment *enchantment, int level);
|
|
EnchantmentInstance(int id, int level);
|
|
|
|
// 4J Added
|
|
EnchantmentInstance *copy();
|
|
}; |