Skip to content

Commit fc2c566

Browse files
Use red particle transition
1 parent a0658f3 commit fc2c566

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/dev/enderman/minecraft/plugins/scp/entities/SCP018Entity.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import dev.enderman.minecraft.plugins.scp.items.SCP018Item
55
import foundation.esoteric.minecraft.plugins.library.entity.CustomEntity
66
import foundation.esoteric.minecraft.plugins.library.entity.CustomEntityPlugin
77
import org.bukkit.Bukkit
8+
import org.bukkit.Color
89
import org.bukkit.Location
910
import org.bukkit.Material
1011
import org.bukkit.Particle
@@ -130,11 +131,11 @@ class SCP018Entity(plugin: SCPPlugin) : CustomEntity<Snowball>(plugin, "scp_018"
130131
}
131132

132133
entity.world.spawnParticle(
133-
Particle.BLOCK,
134+
Particle.DUST_COLOR_TRANSITION,
134135
entity.location,
135136
1,
136137
0.5, 0.5, 0.5,
137-
Material.REDSTONE_BLOCK.createBlockData()
138+
Particle.DustTransition(Color.RED, Color.RED, 0.5F)
138139
)
139140

140141
previousLocation = entity.location.toVector()

0 commit comments

Comments
 (0)