public class EffectRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.nukkitx.protocol.bedrock.data.SoundEvent> |
RECORDS |
static Map<com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect,Effect> |
SOUND_EFFECTS |
| Constructor and Description |
|---|
EffectRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getParticleId(@NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type) |
static com.nukkitx.protocol.bedrock.data.LevelEventType |
getParticleLevelEventType(@NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type) |
static String |
getParticleString(@NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type) |
static void |
init() |
public static final Map<com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect,Effect> SOUND_EFFECTS
public static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.nukkitx.protocol.bedrock.data.SoundEvent> RECORDS
public static void init()
public static int getParticleId(@NonNull
@NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type)
type - the Java particle to search forpublic static com.nukkitx.protocol.bedrock.data.LevelEventType getParticleLevelEventType(@NonNull
@NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type)
type - the Java particle to search forpublic static String getParticleString(@NonNull @NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type)
type - the Java particle to search forCopyright © 2020 GeyserMC. All rights reserved.