File tree Expand file tree Collapse file tree
src/main/kotlin/cn/coostack/cooparticlesapi/particles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ org.gradle.parallel=true
66# check these on https://fabricmc.net/develop
77minecraft_version =1.21.1
88yarn_mappings =1.21.1+build.3
9- loader_version =0.16.10
9+ loader_version =0.16.14
10+ loom_version =1.10-SNAPSHOT
1011fabric_kotlin_version =1.13.2+kotlin.2.1.20
1112
1213# Mod Properties
Original file line number Diff line number Diff line change @@ -26,24 +26,6 @@ import net.minecraft.util.Identifier
2626
2727object 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(
You can’t perform that action at this time.
0 commit comments