Code Cleaning #165
No reviewers
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/120-cleaning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This is a fairly sizeable changelist of some changes to improve code health.
I'm trying to make one commit per big change to try and make it easy to follow.
Only big breaking change here is the removal of INamedNBTSerializable. I've removed it in favor of having explicit serialized names.
Todo
Move slot access and inventory layout stuff to core.Leaving for later, its more entangled than I had thought.Checklist:
Maybe you could also look into the "range" of machines, as right now it's not unified. All of these methods should probably be in the base machine class
I'll take note of this as I have plans to review some machines stuff in my next PR :)
Once #167 is merged, I can finish the NBT key stuff and this will be ready to merge. For now opening for initial review.
@ -73,4 +79,4 @@* Write to NBT.*/public CompoundTag serializeNBT() {CompoundTag tag = new CompoundTag();Why is this not in core?
why added here?
why added here?
why added here?
@ -73,4 +79,4 @@* Write to NBT.*/public CompoundTag serializeNBT() {CompoundTag tag = new CompoundTag();Good spot
@ -18,9 +18,8 @@ forge_version_range=[47.0.19,)# Old Parchment: mappings_channel=parchment_previous, mappings_version=yyyy.mm.dd, previous_minecraft_version=1.x.xremove line, don't comment it out