summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EnchantmentModifier2.java
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2011-11-27 00:39:25 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2011-11-27 01:37:00 +0000
commiteb7bd5f23b56d47a8a3e27d21dad11e3f01c19d0 (patch)
tree52e38d7638d78aebb416a54573b3bb727dd24f31 /src/main/java/net/minecraft/server/EnchantmentModifier2.java
parentba608f55e4afe7ded3f31d4723d1e74d910015fc (diff)
downloadcraftbukkit-eb7bd5f23b56d47a8a3e27d21dad11e3f01c19d0.tar
craftbukkit-eb7bd5f23b56d47a8a3e27d21dad11e3f01c19d0.tar.gz
craftbukkit-eb7bd5f23b56d47a8a3e27d21dad11e3f01c19d0.tar.lz
craftbukkit-eb7bd5f23b56d47a8a3e27d21dad11e3f01c19d0.tar.xz
craftbukkit-eb7bd5f23b56d47a8a3e27d21dad11e3f01c19d0.zip
Implemented Enchantment API
Diffstat (limited to 'src/main/java/net/minecraft/server/EnchantmentModifier2.java')
-rw-r--r--src/main/java/net/minecraft/server/EnchantmentModifier2.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EnchantmentModifier2.java b/src/main/java/net/minecraft/server/EnchantmentModifier2.java
new file mode 100644
index 00000000..b10eff5e
--- /dev/null
+++ b/src/main/java/net/minecraft/server/EnchantmentModifier2.java
@@ -0,0 +1,17 @@
+package net.minecraft.server;
+
+final class EnchantmentModifier2 implements EnchantmentModifier {
+
+ public int a;
+ public EntityLiving b;
+
+ private EnchantmentModifier2() {}
+
+ public void a(Enchantment enchantment, int i) {
+ this.a += enchantment.a(i, this.b);
+ }
+
+ EnchantmentModifier2(EmptyClass3 emptyclass3) {
+ this();
+ }
+}