Fixed meshes not being able to be enchanted in an Enchanting Table
This commit is contained in:
parent
0346a29ed4
commit
a80615c10a
|
|
@ -1,3 +1,7 @@
|
|||
## Ex Deorum 1.15
|
||||
- Added Mechanical Hammer, a machine that uses FE to hammer blocks automatically. Uses 20 FE a tick by default and takes 200 ticks (10 seconds) to hammer an item with a hammer that has no efficiency.
|
||||
- Fixed not being able to enchant sieve meshes in the Enchanting Table.
|
||||
|
||||
## Ex Deorum 1.14
|
||||
- Added Mechanical Sieve, a machine that uses FE to sift blocks automatically. Uses 40 FE a tick by default and takes 100 ticks to sift an item with no efficiency enchantment.
|
||||
- Added `by_hand_only` boolean field to Sieve recipes, which allows modpack makers to add sieve drops that don't drop from the Mechanical Sieve.
|
||||
|
|
|
|||
|
|
@ -32,4 +32,14 @@ public class MeshItem extends Item {
|
|||
public boolean canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) {
|
||||
return enchantment == Enchantments.BLOCK_EFFICIENCY || enchantment == Enchantments.BLOCK_FORTUNE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEnchantable(ItemStack pStack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEnchantmentValue() {
|
||||
return 10;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user