first commit
This commit is contained in:
16
Minecraft.World/EnchantmentInstance.h
Normal file
16
Minecraft.World/EnchantmentInstance.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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();
|
||||
};
|
||||
Reference in New Issue
Block a user