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
14 lines
300 B
C++
14 lines
300 B
C++
#pragma once
|
|
|
|
#include "Enchantment.h"
|
|
|
|
class DiggingEnchantment : public Enchantment
|
|
{
|
|
public:
|
|
DiggingEnchantment(int id, int frequency);
|
|
|
|
virtual int getMinCost(int level);
|
|
virtual int getMaxCost(int level);
|
|
virtual int getMaxLevel();
|
|
virtual bool canEnchant(shared_ptr<ItemInstance> item);
|
|
}; |