@Override
public boolean addHitEffects(IBlockState state, World worldObj, RayTraceResult target, ParticleManager manager) {
if(world != null && pos != null)
if (world instanceof WorldServer)
((WorldServer)world).spawnParticle(EnumParticleTypes.CLOUD, false, pos.getX() + 0.5, pos.getY() + 0.5, pos.getZ() + 0.5, 4, 0.7, 0.8, 0.6, 0, new int[EnumParticleTypes.CLOUD.getArgumentCount()]);
return super.addHitEffects(state, worldObj, target, manager);
}
HarshenSoulOre.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:harshencastle
作者:
评论列表
文章目录