Skip to content

Commit 2ae9725

Browse files
committed
修复 在服务端运行时出现调用错误环境的BUG
1 parent 8e1e4c3 commit 2ae9725

2 files changed

Lines changed: 2 additions & 19 deletions

File tree

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ org.gradle.parallel=true
66
# check these on https://fabricmc.net/develop
77
minecraft_version=1.21.1
88
yarn_mappings=1.21.1+build.3
9-
loader_version=0.16.10
9+
loader_version=0.16.14
10+
loom_version=1.10-SNAPSHOT
1011
fabric_kotlin_version=1.13.2+kotlin.2.1.20
1112

1213
# Mod Properties

src/main/kotlin/cn/coostack/cooparticlesapi/particles/CooModParticles.kt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,6 @@ import net.minecraft.util.Identifier
2626

2727
object CooModParticles {
2828

29-
@JvmField
30-
val GLOWING_PARTICLE_SHEET = object : ParticleTextureSheet {
31-
override fun begin(
32-
tessellator: Tessellator,
33-
textureManager: TextureManager
34-
): BufferBuilder? {
35-
RenderSystem.depthMask(false)
36-
RenderSystem.enableBlend()
37-
RenderSystem.blendFunc(GlStateManager.SrcFactor.SRC_ALPHA, GlStateManager.DstFactor.ONE)
38-
RenderSystem.setShaderTexture(0, SpriteAtlasTexture.PARTICLE_ATLAS_TEXTURE)
39-
return tessellator.begin(VertexFormat.DrawMode.QUADS, VertexFormats.POSITION_TEXTURE_COLOR_LIGHT);
40-
}
41-
42-
override fun toString(): String {
43-
return "GLOWING_PARTICLE_SHEET"
44-
}
45-
}
46-
4729

4830
fun reg() {}
4931
val testEndRod: ParticleType<TestEndRodEffect> = register(

0 commit comments

Comments
 (0)