Skip to content

Commit 9cf6bd9

Browse files
author
Smartin
committed
- remove old stuff
1 parent eb7062e commit 9cf6bd9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package smartin.miapi.modules.properties;
2+
3+
import net.minecraft.item.ItemStack;
4+
import smartin.miapi.modules.properties.util.DoubleProperty;
5+
6+
public class MiningSpeedProperty extends DoubleProperty {
7+
public static MiningSpeedProperty property;
8+
public static String KEY = "mining_speed_modifier";
9+
10+
public MiningSpeedProperty() {
11+
super(KEY);
12+
property = this;
13+
this.baseValue = 1;
14+
}
15+
16+
@Override
17+
public Double getValue(ItemStack stack) {
18+
return getValueRaw(stack);
19+
}
20+
21+
@Override
22+
public double getValueSafe(ItemStack stack) {
23+
return getValueSafeRaw(stack);
24+
}
25+
}

0 commit comments

Comments
 (0)