Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folia1.21.4 When the piston pushes the block in front and there is a lot of creatures in the block in front, will produce moving pistons that cannot be cleared normally #311

Open
mangocraft opened this issue Dec 16, 2024 · 8 comments
Labels
status: needs triage type: bug Something doesn't work as it was intended to.

Comments

@mangocraft
Copy link

mangocraft commented Dec 16, 2024

Expected behavior

Piston normal operation

Observed/Actual behavior

The console will generate the following error:
[13:28:48 ERROR]: [ca.spottedleaf.moonrise.common.util.TickThread] Thread Region Scheduler Thread #1 failed main thread check: Cannot asynchronously load chunks
java.lang.Throwable: null
at ca.spottedleaf.moonrise.common.util.TickThread.ensureTickThread(TickThread.java:51) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerChunkCache.syncLoad(ServerChunkCache.java:100) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerChunkCache.getChunkFallback(ServerChunkCache.java:153) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerChunkCache.getChunk(ServerChunkCache.java:296) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.Level.getChunk(Level.java:1095) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.Level.getBlockState(Level.java:1396) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.entity.Entity.checkInsideBlocks(Entity.java:1806) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.entity.Entity.applyEffectsFromBlocks(Entity.java:1420) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.entity.Entity.applyEffectsFromBlocks(Entity.java:1404) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.block.piston.PistonMovingBlockEntity.moveEntityByPiston(PistonMovingBlockEntity.java:206) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.block.piston.PistonMovingBlockEntity.moveCollidedEntities(PistonMovingBlockEntity.java:186) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.block.piston.PistonMovingBlockEntity.tick(PistonMovingBlockEntity.java:339) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.tick(LevelChunk.java:1094) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.tick(LevelChunk.java:1036) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.Level.tickBlockEntities(Level.java:1521) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:855) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:2021) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1829) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.2.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[13:28:48 ERROR]: BlockEntity threw exception at world:-571,93,9213
java.lang.IllegalStateException: Cannot asynchronously load chunks
at ca.spottedleaf.moonrise.common.util.TickThread.ensureTickThread(TickThread.java:52) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerChunkCache.syncLoad(ServerChunkCache.java:100) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerChunkCache.getChunkFallback(ServerChunkCache.java:153) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerChunkCache.getChunk(ServerChunkCache.java:296) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.Level.getChunk(Level.java:1095) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.Level.getBlockState(Level.java:1396) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.entity.Entity.checkInsideBlocks(Entity.java:1806) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.entity.Entity.applyEffectsFromBlocks(Entity.java:1420) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.entity.Entity.applyEffectsFromBlocks(Entity.java:1404) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.block.piston.PistonMovingBlockEntity.moveEntityByPiston(PistonMovingBlockEntity.java:206) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.block.piston.PistonMovingBlockEntity.moveCollidedEntities(PistonMovingBlockEntity.java:186) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.block.piston.PistonMovingBlockEntity.tick(PistonMovingBlockEntity.java:339) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.tick(LevelChunk.java:1094) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.tick(LevelChunk.java:1036) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.world.level.Level.tickBlockEntities(Level.java:1521) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:855) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:2021) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1829) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[luminol-1.21.4.jar:1.21.4-DEV-27a2e2a]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.2.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Then produce 'moving piston' that cannot be cleared normally:
Image

Steps/models to reproduce

When the piston pushes the block in front and there is a creature in the block in front, will produce 'moving piston' that cannot be cleared normally

Plugin and Datapack List

[22:51:34 INFO]: - HuskHomes, HuskSync,
[22:51:34 INFO]: - BetterRTP Chunky, CMILib
Essentials, EssentialsSpawn, GSit, LuckPerms, PAPIProxyBridge, PlaceholderAPI
PlayerChat, PlayerTitle, ProtocolLib, QuickShop-Hikari, Residence, Vault, WorldEdit

Folia version

Folia(Luminol is a fork of Folia):
This server is running Luminol version 1.21.4-DEV-dev/1.21.4@27a2e2a (2024-12-15T07:38:57Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)

Other

No response

@mangocraft mangocraft added status: needs triage type: bug Something doesn't work as it was intended to. labels Dec 16, 2024
@mangocraft mangocraft changed the title Folia1.21.4 When the piston pushes the block in front and there is a creature in the block in front, the moving piston block will be stuck Folia1.21.4 When the piston pushes the block in front and there is a lot of creatures in the block in front, the moving piston block will be stuck Dec 16, 2024
@mangocraft mangocraft changed the title Folia1.21.4 When the piston pushes the block in front and there is a lot of creatures in the block in front, the moving piston block will be stuck Folia1.21.4 When the piston pushes the block in front and there is a lot of creatures in the block in front, will produce moving pistons that cannot be cleared normally Dec 16, 2024
@ColdeZhang
Copy link

same #312

@mangocraft
Copy link
Author

2024-12-16.14-04-04.2.mp4

@Euphillya
Copy link

You use Luminol, try to reproduce on Folia

@mangocraft
Copy link
Author

mangocraft commented Dec 16, 2024 via email

@Intybyte
Copy link

can't reproduce without plugins

@mangocraft
Copy link
Author

can't reproduce without plugins

After I uninstalled all the plugins, I can still reproduce this bug

@Skullians
Copy link

After testing, it is reproduced in the latest version of folia

------------------ Original ------------------ From: Euphyllia @.> Date: Mon,Dec 16,2024 5:05 PM To: PaperMC/Folia @.> Cc: YIIYI @.>, Author @.> Subject: Re: [PaperMC/Folia] Folia1.21.4 When the piston pushes the block infront and there is a lot of creatures in the block in front, will producemoving pistons that cannot be cleared normally (Issue #311) You use Luminol, try to reproduce on Folia — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Is this with default configs?

@mangocraft
Copy link
Author

After testing, it is reproduced in the latest version of folia

------------------ Original ------------------ From: Euphyllia @.> Date: Mon,Dec 16,2024 5:05 PM To: PaperMC/Folia _@**._> Cc: YIIYI _@.>, Author @._> Subject: Re: [PaperMC/Folia] Folia1.21.4 When the piston pushes the block infront and there is a lot of creatures in the block in front, will producemoving pistons that cannot be cleared normally (Issue #311) You use Luminol, try to reproduce on Folia — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: _@_.*>

Is this with default configs?

I tested the default config and was able to reproduce the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to.
Projects
None yet
Development

No branches or pull requests

5 participants