WIP: Try to update Milo for 1.19 #63
Reference in New Issue
Block a user
Delete Branch "Kan18/develop-1.8"
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?
Removes Milo trying to access damage on items (
nilbecause of The Flattening). Changes "getItemMeta" to "getItemDetail". We might also need to reimplement showing durability in the item's display name - I got a little too carried away with removing mentions of "damage". Also renames nbtHash to nbt to be consistent with new CC:T naming. I tried not to touch anything related to MiloRemote for now, and there are probably still many bugs remaining that need to be ironed out. Most of the basic functionality works now, though.We might also have to fix all the recipes as well, by removing the damage values
Actually, half the recipes are broken because of renamed items; maybe dump them again or something
Won't this still need to check the damage? For instance, a hammer used to turn an ingot into a plate, but uses durability.
@@ -0,0 +20,4 @@function TurtleInv.list()local list = {}for slot = 1, inventorySize dolist[slot] = turtle.getItemDetail(slot)Only includes the NBT hash with the 'true' second arg. At least in my testing in 1.18.2; may be different in 1.19
Just a couple thoughts; I was poking at updating for 1.18.2.
Thanks for the feedback! Sorry I'm getting to this just now. The PR still has weird bugs involving items with NBT, so I am marking this as draft right now. Also, somebody brought up the issue of 1.12.2 compatibility on Discord - not exactly sure how to solve this (having two different branches/versions, maybe?)
@@ -0,0 +20,4 @@function TurtleInv.list()local list = {}for slot = 1, inventorySize dolist[slot] = turtle.getItemDetail(slot)Instead of fixing this, I could just wait for cc-tweaked/cc-tweaked#1306 😴
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.