![JAR search and dependency download from the Maven repository](/logo.png)
cn.nukkit.level.particle.TerrainParticle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.level.particle;
import cn.nukkit.block.Block;
import cn.nukkit.level.GlobalBlockPalette;
import cn.nukkit.math.Vector3;
/**
* @author xtypr
* @since 2015/11/21
*/
public class TerrainParticle extends GenericParticle {
public TerrainParticle(Vector3 pos, Block block) {
super(pos, Particle.TYPE_TERRAIN, GlobalBlockPalette.getOrCreateRuntimeId(block.getId(), block.getDamage()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy