Fix Machine Hit Particles

This commit is contained in:
Nedelosk committed 2018-04-28 14:16:33 +02:00
1 parent 98806129bc
commit decc351e04
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
mcversion=1.12.2
forgeversion=14.23.2.2611
forgeversion=14.23.2.2637
mcp_mappings=snapshot_20171003
curse_project_id=59751
+1 -1
View File
@@ -68,7 +68,7 @@ import forestry.plugins.PluginTechReborn;
version = Constants.VERSION,
guiFactory = "forestry.core.config.ForestryGuiConfigFactory",
acceptedMinecraftVersions = "[1.12.2,1.13.0)",
dependencies = "required-after:forge@[14.23.0.2500,);"
dependencies = "required-after:forge@[14.23.2.2637,);"
+ "after:jei@[4.7.8.91,);"
+ "after:" + PluginIC2.MOD_ID + ";"
+ "after:" + PluginNatura.MOD_ID + ";"
@@ -72,7 +72,7 @@ public class ParticleHelper {
ParticleDigging fx = (ParticleDigging) effectRenderer.spawnEffectParticle(EnumParticleTypes.BLOCK_DUST.getParticleID(), px, py, pz, 0.0D, 0.0D, 0.0D, Block.getStateId(iblockstate));
if (fx != null) {
callback.addHitEffects(fx, world, pos, iblockstate);
effectRenderer.addEffect(fx.setBlockPos(new BlockPos(x, y, z)).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F));
fx.setBlockPos(new BlockPos(x, y, z)).multiplyVelocity(0.2F).multipleParticleScaleBy(0.6F);
}
}
return true;