-
Notifications
You must be signed in to change notification settings - Fork 4
Duping
Enables duping in MC-Forge, in Singleplayer.
It saves the items on the ground and the contains of the surrounding chests to a file in your MC-World-Folder called latest_dupe.txt
/tastools duping
to disable
Delete the latest_dupe.txt file to prevent the refilling mechanism.
-
Throw the item(s) you want to dupe on the ground.
-
Press Esc and "Save and quit" to menu ->This saves the inventory of the player and the world.
-
Reenter the world and pick up the item(s)
-
Alt+F4 the game immediately when you picked up the items ->This saves the inventory but not the world.
-
Open up MC and enter the world.
Result: The Items are in your inventory and a copy of the items are on the ground.
-
Put the item(s) you want to dupe in 1 or more chests
-
Press Esc and "Save and quit" to menu ->This saves the inventory of the player and the world.
-
Reenter the world, open the chest(s) and grab the items you want to dupe out of the chest
-
Alt+F4 the game immediately when you clicked on the items and they are in the inventory ->This saves the inventory but not the world.
-
Open up MC and enter the world.
Result: The Items are in your inventory and a copy of the items are in the chests
/dupe -> loads the items from latest_dupe.txt.
This is basically a way to skip pressing Alt+F4
The dupe would go:
-
Throw the item(s) you want to dupe on the ground.
-
Press Esc and "Save and quit" to menu ->This saves the inventory of the player and the world.
-
Reenter the world and pick up the item(s)
-
Enter /dupe
Result: Items are duped correctly like doing Alt+F4
You can also press the I
Key by default... This will make you stop immediately since it's not possible to dupe while running
The file should be located in your world folder in saves.
This paragraph explains the sections of the item. (Also pretty useful if you want to understand that part of the code)
Slot;0;12;(tile.sand.default);3;0;null;[]
0=Slot of the Chest
12= Item ID
(tile.sand.default)= Unlocalized Name (Isn't actually used when loading, is just a visual representation so you can see what item this resembles)
3=Item count
0=Item damage
null=Custom Name (If you put the item in an anvil and change the name, that name would be there instead of null... Oh yeah, and don't name your item "null"...)
[]=Enchantments (If there are none it will be displayed as [] or null depending on the version)
Item;0;88.5767276066086;76.0;-215.10442291743513;294;(item.hoeGold);1;16;I'm a custom name;[{lvl:2s,id:34s}];13;20
0=Slot of the EntityId List (Unused)
88.5767276066086=X-Coordinate of the item
76.0=Y-Coordinate...
-215.10442291743513=Guess what this does...
294=ItemID
(item.hoeGold)=Unlocalized Name, still unused
1=Item count (When you throw 3 blocks out of the inventory at oce the count would be 3)
16=Item damage
I'm a custom name=Custom Name, this time it's not null!
[{lvl:2s,id:34s}]=Enchantments
13=Age of the item in ticks. Appearently an item lasts 6000 ticks before it despawns.
20=Pickup delay (Before was something with thrower but that is now fixed)
Contributions by: ScribbleLP