Lothrazar / Cyclic

Minecraft mod written in Java
MIT License
166 stars 97 forks source link

Item user does not continue operations when game reloads (1.20.1) #2398

Open mberlin1 opened 7 months ago

mberlin1 commented 7 months ago

Minecraft Version: 1.20.1

Forge Version: 47.2.21

Mod Version: 1.12.7

Single Player or Server: Single

Describe problem (what you were doing; what happened; what should have happened): After shutting down the game and starting again at a later time, the item user will have to be broken and placed again in order to work. Removing its pickaxe, changing its item use type (block/entity interaction) and right/left click, redstone signal ignored/high/low do absolutely nothing to resolve the issue. The only solution to get it to start using its pickaxe again is to break the item user and place it again.

Log file link: Not relevant, there's no crash here.

Video/images/gifs (direct upload or link): If you like i'll happily provide a video of the item user doing absolutely nothing after starting the game up, but i don't think it would help.

Lothrazar commented 4 months ago

Do you have some screenshots of the setup, or an example of what it is trying to interact with? Pickaxe doesnt have a right click interaction so it would do the same as an empty hand.

Questions: Does it have the config on so the user consumes RF power what are your block targets?

These are my test setups in a single player world to test this issue. One is an empty hand or tool on a repeater, so it forever cycles the repeater settings one is a bucket of water on a cauldron, with a hopper and pipe to pull out the empty bucket from the offhand buffer and pipe it back in so it also cycles forever.

Neoforge 47.1.104 cyclic 1.20.1-1.12.9 flib 0.0.14

user forever setups 2398 test

mberlin1 commented 4 months ago

On Mon, Jul 29, 2024 at 10:10 AM - @.***> wrote:

Do you have some screenshots of the setup, or an example of what it is trying to interact with? Pickaxe doesnt have a right click interaction so it would do the same as an empty hand.

The setup is nothing more than an item user in my spawn chunk (ftb chunkloader, using selected chunks from ftb journeymap) with a pickaxe in it. It's not a right click action, so that's not the issue. As i said, it works absolutely fine the instant i break the item user and place it again with its pickaxe, but upon leaving (its single user) the game and reentering, i have to do the same song and dance all over again. It also works fine when i leave the chunk entirely, after i've reset it as above.

There's absolutely nothing special about this setup whatsoever. It's not being passed items, its not dropping items. its just using the pickaxe on some blocks. that's it. There are things placing the blocks in a space, the item user uses the pickaxe on them.

Questions: Does it have the config on so the user consumes RF power what are your block targets?

These are my test setups in a single player world to test this issue. One is an empty hand or tool on a repeater, so it forever cycles the repeater settings one is a bucket of water on a cauldron, with a hopper and pipe to pull out the empty bucket from the offhand buffer and pipe it back in so it also cycles forever.

Neoforge 47.1.104 cyclic 1.20.1-1.12.9 flib 0.0.14

user.forever.setups.png (view on web) https://github.com/user-attachments/assets/af41ecbc-52b8-400c-9ff4-64c685dc4ca8 2398.test.gif (view on web) https://github.com/user-attachments/assets/bea741e6-36bf-4509-a93b-b179d4de9d8b

— Reply to this email directly, view it on GitHub https://github.com/Lothrazar/Cyclic/issues/2398#issuecomment-2256052189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2UT7ESVMB7NCKJ337S3UTZOZENDAVCNFSM6AAAAABF35QSH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGA2TEMJYHE . You are receiving this because you authored the thread.Message ID: @.***>

mberlin1 commented 4 months ago

The only reason i'm balking at showing the setup is i'm not even sure i have the saved game anymore -- this ticket was opened like 2 months ago or something, wans't it? I do remember the setup though, i use pretty much the same one every time. Some kit's block placer, refined storage or whatever to store items, pull the blocks in question out, place them, item user breaks them. I always come back to the same situation when i reload the game. Block is in place ready to be broken, item user sits there doing nothing. Remove pickaxe, place it back in item user, nothing. Switch item user's use using the little gui. nothing. break item user, put it back in place, rotate it properly, give it pickaxe, voila, everything works again.

On Mon, Jul 29, 2024 at 11:34 PM Michael Berlin @.***> wrote:

On Mon, Jul 29, 2024 at 10:10 AM - @.***> wrote:

Do you have some screenshots of the setup, or an example of what it is trying to interact with? Pickaxe doesnt have a right click interaction so it would do the same as an empty hand.

The setup is nothing more than an item user in my spawn chunk (ftb chunkloader, using selected chunks from ftb journeymap) with a pickaxe in it. It's not a right click action, so that's not the issue. As i said, it works absolutely fine the instant i break the item user and place it again with its pickaxe, but upon leaving (its single user) the game and reentering, i have to do the same song and dance all over again. It also works fine when i leave the chunk entirely, after i've reset it as above.

There's absolutely nothing special about this setup whatsoever. It's not being passed items, its not dropping items. its just using the pickaxe on some blocks. that's it. There are things placing the blocks in a space, the item user uses the pickaxe on them.

Questions: Does it have the config on so the user consumes RF power what are your block targets?

These are my test setups in a single player world to test this issue. One is an empty hand or tool on a repeater, so it forever cycles the repeater settings one is a bucket of water on a cauldron, with a hopper and pipe to pull out the empty bucket from the offhand buffer and pipe it back in so it also cycles forever.

Neoforge 47.1.104 cyclic 1.20.1-1.12.9 flib 0.0.14

user.forever.setups.png (view on web) https://github.com/user-attachments/assets/af41ecbc-52b8-400c-9ff4-64c685dc4ca8 2398.test.gif (view on web) https://github.com/user-attachments/assets/bea741e6-36bf-4509-a93b-b179d4de9d8b

— Reply to this email directly, view it on GitHub https://github.com/Lothrazar/Cyclic/issues/2398#issuecomment-2256052189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2UT7ESVMB7NCKJ337S3UTZOZENDAVCNFSM6AAAAABF35QSH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGA2TEMJYHE . You are receiving this because you authored the thread.Message ID: @.***>