GithubHelp home page GithubHelp logo

garlic's People

Contributors

3tusk avatar c20c01 avatar dslm avatar dsx137 avatar gu-zt avatar izzelaliz avatar locusazzurro avatar marblegatekeeper avatar sihenzhang avatar ustc-zzzz avatar vvvbbbcz avatar zoshsgahdnkc avatar

Watchers

 avatar  avatar  avatar  avatar

garlic's Issues

Crash on Linux

说明

在 Linux 环境下,使用 HMCL 启动 TeaCon 3.0.2 整合包出现崩溃。问题来源于: MCBBS TID-1373931。堆栈追踪指向此项目,疑似是类型错误?

环境

Java Version: 18.0.2
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
OS: Manjaro Linux x86_64
Kernel: 5.15.59-1-MANJARO
CPU: Intel i3-2120 (4) @3.300GHz
GPU: Intel 2nd Generation Core Processor Family

日志

https://pastebin.com/R7zGWgsQ

日志摘要

java.lang.RuntimeException: net.minecraft.server.ChainedJsonException: Invalid shaders/core/rendertype_cutout.json: Couldn't compile fragment program (Mod Resources, nocaet:rendertype_cutout) : 0:45(2): error: `return' with wrong type int, in function `arclight' returning float
0:60(14): error: no function with name 'linear_fog'
	at TRANSFORMER/[email protected]+b21b7af/org.teacon.nocaet.client.GarlicClient.registerShader(GarlicClient.java:70)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:106)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$postEvent$31(ModLoader.java:284)

疑似问题代码

https://github.com/teaconmc/Garlic/blob/1.18-forge/src/main/resources/assets/nocaet/shaders/core/rendertype_cutout.fsh#L42-L48

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.