Comments (5)
Update: I'm fairly certain that my proposed fix will not work, as the MaterializationUtils.getDurability()
method I referenced is not an instance method of the ItemStack
class (the variable tool
is of type ItemStack). Perhaps this method should be added to Edit: I misunderstood how those classes operate.items.MaterializedMiningTool
(or classes that implement it) directly?
from materialisation.
I can try to go over it tomorrow.
from materialisation.
Upon testing again, I found that while the exact issue mentioned above no longer occurs, a new one has been introduced. Veinminer now properly activates for Materialisation pickaxes, but the way that the durability is set after the action is complete is broken. The durability (mt_durability
tag) is set to the difference between the tool's durability value at the time it broke the block and its max durability. Ex: if you have a materialized iron pickaxe (max durability 250) at durability 240, and veinmine with it, its durability will then be set to 10. This results in instant pickaxe breakage if veinmining occurs at max durability.
I believe this may be in some way caused by the fact that MoreEnchantments calls the method: ItemStack.damage()
, which does not have an implementation in Materialisation's durability system, but I am not sure.
from materialisation.
This issue seems to be resolved in the latest update.
from materialisation.
Yep it should be
from materialisation.
Related Issues (20)
- Cant see textures HOT 4
- Cotton Resources materials cannot be used to make parts on the Material Preparer HOT 1
- one shoting stuff
- crashes on 1.16.2 when opening options HOT 1
- Feature: Support for More Gems
- REI Breakage HOT 1
- Spam in Console log 1.16.2 HOT 5
- Gold Magma Creme Crash HOT 1
- Missing Texture and can't rename tool
- Customizable Textures for materialpacks
- Weird Textures for Custom Material Hammers and Mega Axes
- How to use reinforcement?
- Unbreaking does not work on colbalt hammer have not tested other tools.
- Blank texture for tools HOT 3
- Adding materialpacks causes a crash due to a default buggy diamond material? HOT 1
- Attempting to create a tool crashes the game, and config crashes when viewing some material packs.
- [BUG] Invisible Icons/Items - Incompatibility with Sodium HOT 2
- [REQUEST] Request - Forge
- crash during startup HOT 3
- Start working on this project again HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialisation.