lynnpye / cronmc Goto Github PK
View Code? Open in Web Editor NEWMinecraft mod
License: MIT License
Minecraft mod
License: MIT License
Hi (Again) :D
A different pack, this time on 1.19.2, plenty of mods. Still running alive and well on ARM64, openjdk 17.0.6
> java.lang.NoSuchMethodError: 'int net.minecraft.commands.Commands.m_82117_(net.minecraft.commands.CommandSourceStack, java.lang.String)' at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.Cronmc$2.run(Cronmc.java:126) at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.DistExecutor.safeRunWhenOn(DistExecutor.java:123) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.Cronmc.opCommand(Cronmc.java:121) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.task.OpHandler$1.run(OpHandler.java:28) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.schedule.CronTask$2.run(CronTask.java:87) at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.DistExecutor.safeRunWhenOn(DistExecutor.java:123) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.schedule.CronTask.executeRunnable(CronTask.java:84) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.schedule.CronTask.execute(CronTask.java:64) at TRANSFORMER/[email protected]/com.pyehouse.cronmc.relocated.cron4j.TaskExecutor$Runner.run(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:833)
The schedule works, and the console actually shows that error when the tasks are about to be executed. Although I don't usually dabble in Java, a blind guess - Forge introduced a breaking change in handling commands, perhaps?
Thanks for the mod again, honestly at this point I'm just too used to a civilized, fully featured cron implementation to even image coming back to /schedule
shenanigans, command blocks, and other types of primitive recurrent task handling/scheduling :P
~S
Hi there,
For starters, thank you for your work - I've had tremendous trouble finding a mod providing cron-like capabilities for Forge.
But anyway - I found an issue that seems to be associated with this mod, somehow.
In my mod pack, I've set up a cron job that clears up drops and entities every 20 and 40 minute of an hour. Soon, we've started experiencing crashes from time to time - and weirdly, the scheduled command time is exactly when a crash happens - precisely at HH:20:00 or HH:40:00. Literally, never crashing in any other circumstances - just in this exact one, when cronmc executes the scheduled command. One of my players have noticed, that the command scheduled at the time of the crash actually executes twice.
I'm using the 1.18.2 version, on Forge 40.1.84. I'm attaching a crash log - maybe you'll find something that might help you there?
crash-2022-11-18_22_20.00-server.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.