mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 15:03:03 +00:00
Finish migrate to vanilla particle sys
This commit is contained in:
1 parent
f0993c20a4
commit
b4e0a076e7
74 files changed
+455
-475
No files matched your search
@@ -29,7 +29,7 @@ import net.minecraft.util.math.Vec3d;
|
||||
import net.minecraft.world.Explosion;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.registries.ObjectHolder;
|
||||
import vazkii.botania.client.fx.ParticleData;
|
||||
import vazkii.botania.client.fx.WispParticleData;
|
||||
import vazkii.botania.common.core.handler.ModSounds;
|
||||
import vazkii.botania.common.core.helper.PlayerHelper;
|
||||
import vazkii.botania.common.core.helper.Vector3;
|
||||
@@ -160,7 +160,7 @@ public class EntityBabylonWeapon extends EntityThrowableCopy {
|
||||
setMotion(mot);
|
||||
|
||||
if(liveTime > delay) {
|
||||
ParticleData data = ParticleData.wisp(0.3F, 1F, 1F, 0F, 1);
|
||||
WispParticleData data = WispParticleData.wisp(0.3F, 1F, 1F, 0F, 1);
|
||||
world.addParticle(data, posX, posY, posZ, 0, -0F, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user