@@ -79,7 +79,7 @@ class TestParticleItem(settings: Settings) : Item(settings) {
7979 .also {
8080 it.maxTick = 240
8181 it.templateData.apply {
82- textureSheet = ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT
82+ setTextureSheet( ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT )
8383 color = Math3DUtil .colorOf(100 , 100 , 210 )
8484 effect = TestEndRodEffect (uuid)
8585 size = 0.1f
@@ -95,7 +95,7 @@ class TestParticleItem(settings: Settings) : Item(settings) {
9595 it.maxTick = 240
9696 it.templateData.apply {
9797 maxAge = 1
98- textureSheet = ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT
98+ setTextureSheet( ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT )
9999 color = Math3DUtil .colorOf(100 , 100 , 210 )
100100 effect = TestEndRodEffect (uuid)
101101 }
@@ -110,7 +110,7 @@ class TestParticleItem(settings: Settings) : Item(settings) {
110110 it.maxTick = 120
111111 it.templateData.apply {
112112 maxAge = 20
113- textureSheet = ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT
113+ setTextureSheet( ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT )
114114 color = Math3DUtil .colorOf(100 , 100 , 210 )
115115 effect = TestEndRodEffect (uuid)
116116 }
@@ -125,7 +125,7 @@ class TestParticleItem(settings: Settings) : Item(settings) {
125125 it.maxTick = 10
126126 it.templateData.apply {
127127 maxAge = 60
128- textureSheet = ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT
128+ setTextureSheet( ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT )
129129 color = Math3DUtil .colorOf(255 , 255 , 255 )
130130 effect = TestEndRodEffect (uuid)
131131 }
@@ -141,7 +141,7 @@ class TestParticleItem(settings: Settings) : Item(settings) {
141141 it.maxTick = - 1
142142 it.templateData.apply {
143143 maxAge = 30
144- textureSheet = ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT
144+ setTextureSheet( ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT )
145145 color = Math3DUtil .colorOf(255 , 255 , 255 )
146146 effect = TestEndRodEffect (uuid)
147147 }
@@ -159,7 +159,7 @@ class TestParticleItem(settings: Settings) : Item(settings) {
159159 it.moveDirection = user.rotationVector.normalize().multiply(0.5 )
160160 it.templateData.apply {
161161 maxAge = 20
162- textureSheet = ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT
162+ setTextureSheet( ParticleTextureSheet .PARTICLE_SHEET_TRANSLUCENT )
163163 color = Math3DUtil .colorOf(217 , 137 , 146 )
164164 effect = ControlableCloudEffect (uuid)
165165 }
0 commit comments