Remove Serialization from MultiCapabilityProvider #322

Merged
ferriarnus merged 2 commits from Multicap-nonserialize into dev/1.20.1 2023-07-20 19:05:01 +00:00
ferriarnus commented 2023-07-20 14:20:43 +00:00 (Migrated from github.com)

Description

Since we serialize ourselves directly to nbt, we no longer need a serializable provider. This solves an issue where the capacitors had not needed nbt data, stopping the autocrafting.

As a side note this change probably broke our current darksteel tools impl. This Impl however was most likely broken on servers, and thus needs a rework.

Closes #315

Todo

  • Hopefully nothing.

Checklist:

  • My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you).
  • I have performed a self-review of my own code.
  • I have commented my code in areas it may be challenging to understand.
  • I have made corresponding changes to the documentation.
  • My changes are ready for review from a contributor.
# Description Since we serialize ourselves directly to nbt, we no longer need a serializable provider. This solves an issue where the capacitors had not needed nbt data, stopping the autocrafting. As a side note this change probably broke our current darksteel tools impl. This Impl however was most likely broken on servers, and thus needs a rework. Closes #315 <!-- Follow this exact pattern for every issue you've fixed to help GitHub automatically link your PR to the relevant issues --> <!-- Remove this section if you're submitting an already-complete PR --> # Todo - [ ] Hopefully nothing. <!-- For drafts, fill this in as you go; if you are leaving draft, make sure these are all done --> # Checklist: - [x] My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you). - [x] I have performed a self-review of my own code. - [x] I have commented my code in areas it may be challenging to understand. <!-- (Although we prefer code that is readable instead of over-commented) --> - [x] I have made corresponding changes to the documentation. - [x] My changes are ready for review from a contributor. <!-- Thanks to: https://embeddedartistry.com/blog/2017/08/04/a-github-pull-request-template-for-your-projects/ for the building blocks of this template -->
Rover656 (Migrated from github.com) requested changes 2023-07-20 18:59:48 +00:00
Rover656 (Migrated from github.com) left a comment

Looks great, just a quick naming change please! Thanks!!

Looks great, just a quick naming change please! Thanks!!
@ -14,26 +11,19 @@ import java.util.HashMap;
import java.util.Map;
Rover656 (Migrated from github.com) commented 2023-07-20 18:59:23 +00:00

This can just be called add now imo.

This can just be called `add` now imo.
ferriarnus (Migrated from github.com) reviewed 2023-07-20 19:02:37 +00:00
@ -14,26 +11,19 @@ import java.util.HashMap;
import java.util.Map;
ferriarnus (Migrated from github.com) commented 2023-07-20 19:02:37 +00:00

Makes sense, I'll change it.

Makes sense, I'll change it.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Team-EnderIO/EnderIO#322
No description provided.