lekavar / drinkbeer Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Servers crash when placing spice drinks [1.18.1 Fabric 0.12.12]
Here's the log from ManyMC:
ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider jdk.nashorn.api.scripting.NashornScriptEngineFactory not found
[22:43:32] [main/INFO]: Loading Minecraft 1.16.5 with Fabric Loader 0.14.8
[22:43:32] [main/INFO]: Loading 49 mods:
- drinkbeer 3.0.2
- fabric 0.42.0+1.16
- fabric-api-base 0.4.0+3cc0f0907d via fabric
- fabric-api-lookup-api-v1 1.3.1+3cc0f0907d via fabric
- fabric-biome-api-v1 3.1.13+3cc0f0907d via fabric
- fabric-blockrenderlayer-v1 1.1.6+3cc0f0907d via fabric
- fabric-command-api-v1 1.1.3+3cc0f0907d via fabric
- fabric-commands-v0 0.2.3+3cc0f0907d via fabric
- fabric-containers-v0 0.1.12+3cc0f0907d via fabric
- fabric-content-registries-v0 0.2.5+3cc0f0907d via fabric
- fabric-crash-report-info-v1 0.1.4+3cc0f0907d via fabric
- fabric-dimensions-v1 2.0.8+3cc0f0907d via fabric
- fabric-entity-events-v1 1.2.4+3cc0f0907d via fabric
- fabric-events-interaction-v0 0.4.5+3cc0f0907d via fabric
- fabric-events-lifecycle-v0 0.2.2+3cc0f0907d via fabric
- fabric-game-rule-api-v1 1.0.7+3cc0f0907d via fabric
- fabric-item-api-v1 1.2.2+3cc0f0907d via fabric
- fabric-item-groups-v0 0.3.1+3cc0f0907d via fabric
- fabric-key-binding-api-v1 1.0.5+3cc0f0907d via fabric
- fabric-keybindings-v0 0.2.2+3cc0f0907d via fabric
- fabric-lifecycle-events-v1 1.2.2+3cc0f0907d via fabric
- fabric-loot-tables-v1 1.0.3+3cc0f0907d via fabric
- fabric-mining-levels-v0 0.1.4+3cc0f0907d via fabric
- fabric-models-v0 0.3.1+3cc0f0907d via fabric
- fabric-networking-api-v1 1.0.5+3cc0f0907d via fabric
- fabric-networking-blockentity-v0 0.2.9+3cc0f0907d via fabric
- fabric-networking-v0 0.3.3+3cc0f0907d via fabric
- fabric-object-builder-api-v1 1.9.6+3cc0f0907d via fabric
- fabric-object-builders-v0 0.7.3+3cc0f0907d via fabric
- fabric-particles-v1 0.2.5+3cc0f0907d via fabric
- fabric-registry-sync-v0 0.7.6+3cc0f0907d via fabric
- fabric-renderer-api-v1 0.4.5+3cc0f0907d via fabric
- fabric-renderer-indigo 0.4.5+3cc0f0907d via fabric
- fabric-renderer-registries-v1 2.3.1+3cc0f0907d via fabric
- fabric-rendering-data-attachment-v1 0.1.6+3cc0f0907d via fabric
- fabric-rendering-fluids-v1 0.1.15+3cc0f0907d via fabric
- fabric-rendering-v0 1.1.3+3cc0f0907d via fabric
- fabric-rendering-v1 1.6.1+3cc0f0907d via fabric
- fabric-resource-loader-v0 0.4.8+3cc0f0907d via fabric
- fabric-screen-api-v1 1.0.1+3cc0f0907d via fabric
- fabric-screen-handler-api-v1 1.1.6+3cc0f0907d via fabric
- fabric-structure-api-v1 1.1.12+3cc0f0907d via fabric
- fabric-tag-extensions-v0 1.1.2+3cc0f0907d via fabric
- fabric-textures-v0 1.0.7+3cc0f0907d via fabric
- fabric-tool-attribute-api-v1 1.2.8+3cc0f0907d via fabric
- fabric-transfer-api-v1 1.5.0+3cc0f0907d via fabric
- fabricloader 0.14.8
- java 8
- minecraft 1.16.5
[22:43:32] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/Users/setchin/Library/Application%20Support/ManyMC/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[22:43:35] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[22:43:36] [Render thread/INFO]: Setting user: Setchin
[22:43:37] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[22:43:38] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
Then the launch of the game stopped, and no any window appeared.
Is that a problem from LWJGL3?
I also tried the official launcher, but still the same problem.
Is it possible to make this mod compatible with 1.19.3? Thanks
Can you add support for 1.20.1?
日志如下:
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'drinkbeer'!
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.12.jar:?]
at net.minecraft.server.Main.main(Main.java:102) ~[server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.12.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/blockrenderlayer/v1/BlockRenderLayerMap
at lekavar.lma.drinkbeer.DrinkBeer.onInitialize(DrinkBeer.java:304) ~[%5B食物%5D喝啤酒啦-drinkbeer-v4.0.0-beta%20for%201.19.3.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.12.jar:?]
... 7 more
Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at lekavar.lma.drinkbeer.DrinkBeer.onInitialize(DrinkBeer.java:304) ~[%5B食物%5D喝啤酒啦-drinkbeer-v4.0.0-beta%20for%201.19.3.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.12.jar:?]
... 7 more
I don't know if there are other mugs that cause this, but we have one empty beer mug that when held is yellow in name and has a star at the end of the name. When placed on the ground and broken it completely crashes our server. The normal white named mug that is empty as well does not crash the server. These issues do not persist in single-player whatsoever.
logs
https://paste.alloffabric.com/ixazamuhux.yaml
code causing the issue.
Mod fails to load on a dedicated server.
Crash Report: https://pastebin.com/vBhCsshD
Issue: When disconnecting from server, all inventory in kegs (that are currently brewing) are deleted from world.
Fabric version: 0.12.12 (server)
Minecraft version: 1.18.1
DrinkBeer version: 3.0.2
Steps to reproduce:
What I excepted:
The items should either not be extracted at all or only the 4 input slot should be accessible to automation
https://paste.alloffabric.com/okiyifaber.sql
drinkbeer-v3.0 for 1.17.1.jar
I suggest changing how the comments in the JSON files are used. Normally, you shouldn't use any comments in JSON, unless you do it like this:
{
"_comment": "Creative Tab",
"itemGroup.drinkbeer.beer": "Beer",
Another solution could be changing the file from JSON to JSONC (json with comments), where //
style comments are supported, such as:
{
// Creative Tab
"itemGroup.drinkbeer.beer": "Beer",
This solution seems more... modern? But would likely need some code changes.
Unless you are editing the JSON file directly in a code editor (which is, trust me, PAIN), you would have to paste the comments into the translated file after it's downloaded from a localization tool. Most tools don't have any support for comments, but some do, and it would be nice to make it work properly.
It feels kind of funky to have to commit mugs to a beer at the start of the brewing process. Wouldn't it make more sense for me to brew the beer in the keg, and then bring a mug to it after the brewing is done? That way, I can have a supply of various beers "on tap", and can pull one or two mugs from each keg on demand.
Can't tell if this is a bug or not, but it should be addressed considering that an "open" sound is a "open" sound, not a "close" one.
hello! leaving your example mixin and modid.mixin.json as it can cause crashes with other mods. its good practice to remove or rename these files to prevent conflicts (such as replacing modid with drinkbeer, or just deleting the mixin files because they dont actually do anything here)
you messaged me asking for my log on curseforge but left before i had a chance to respond, there isnt any log needed, this is just good practice to do.
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.