carpetmod112 icon indicating copy to clipboard operation
carpetmod112 copied to clipboard

New 1.12-1.13 spot permaloaders don't work with optimizedTileEntities = true

Open Earthcomputer opened this issue 7 years ago • 5 comments

These permaloaders haven't been released or fully researched yet.

Earthcomputer avatar Oct 25 '18 12:10 Earthcomputer

What permaloader type are you talking about? Is it the beacon permaloader which uses sticky pistons with slime blocks that push and pull stained glass to cause beacon updates?

susanshopper avatar Aug 19 '20 13:08 susanshopper

Back in 2018, when we in the monkeys discord were first looking into the potential for ender chests to load chunks, we called them "spot permaloaders". I'm not sure what the common name for them is these days, probably just "ender chest loaders".

Earthcomputer avatar Aug 19 '20 14:08 Earthcomputer

Somewhere in the code, when optimizedTileEntities=true, it disables the code that makes ender chests load chunks. May you please take a look at TileEntityEnderChest.java.patch(the carpet patch) and minecraft/net/minecraft/tileentity/TileEntityEnderChest.java(Vanilla code)?

susanshopper avatar Aug 19 '20 15:08 susanshopper

I know. However I am not the maintainer of this repository anymore.

Earthcomputer avatar Aug 19 '20 16:08 Earthcomputer

A potential fix: With this fix, if optimizedTileEntities is True, the ender chest’s chunk loading mechanic only deactivates in a player loaded area or the spawn chunks. It can also keep ender chest reloaders from activating inadvertently from the player leaving at the right time if the reload mechanic reactivation is delayed at that time. The fix can be a carpet rule so ender chest reloaders can be deactivated by setting it to false.

susanshopper avatar Aug 20 '20 20:08 susanshopper