Package com.hbm_m.particle.helper
Interface IParticleCreator
- All Known Implementing Classes:
MukeParticleCreator,NukeTorexCreator,VomitParticleCreator
public interface IParticleCreator
Creates a custom particle on the client from NBT data.
Server sends via
sendPacket(ServerLevel, double, double, double, int, CompoundTag).-
Method Summary
Modifier and TypeMethodDescriptionvoidmakeParticle(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.player.Player player, net.minecraft.util.RandomSource rand, double x, double y, double z, net.minecraft.nbt.CompoundTag tag) static voidsendPacket(net.minecraft.server.level.ServerLevel level, double x, double y, double z, int range, net.minecraft.nbt.CompoundTag data)
-
Method Details
-
makeParticle
void makeParticle(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.world.entity.player.Player player, net.minecraft.util.RandomSource rand, double x, double y, double z, net.minecraft.nbt.CompoundTag tag) -
sendPacket
static void sendPacket(net.minecraft.server.level.ServerLevel level, double x, double y, double z, int range, net.minecraft.nbt.CompoundTag data)
-