public static class Constants.WorldEvents
extends java.lang.Object
IWorld.playEvent(int, BlockPos, int)
. WorldRenderer.playEvent(net.minecraft.entity.player.PlayerEntity, int, net.minecraft.util.math.BlockPos, int)
data
parameter. If this is the case, an explanation of what data
does is also providedModifier and Type | Field and Description |
---|---|
static int |
ANVIL_DESTROYED_SOUND |
static int |
ANVIL_LAND_SOUND |
static int |
ANVIL_USE_SOUND |
static int |
BAT_TAKEOFF_SOUND |
static int |
BLAZE_SHOOT_SOUND |
static int |
BONEMEAL_PARTICLES
data is the amount of particles to spawn. |
static int |
BREAK_BLOCK_EFFECTS
data is the state id of the block broken |
static int |
BREWING_STAND_BREW_SOUND |
static int |
CHORUS_FLOWER_DEATH_SOUND |
static int |
CHORUS_FLOWER_GROW_SOUND |
static int |
COMPOSTER_FILLED_UP
Spawns the composter particles and plays the sound event sound event
data is bigger than 0 when the composter can still be filled up, and is smaller or equal to 0 when the composter is full. |
static int |
DISPENSER_DISPENSE_SOUND |
static int |
DISPENSER_FAIL_SOUND |
static int |
DISPENSER_LAUNCH_SOUND
Like DISPENSER_DISPENSE_SOUND, but for items that are fired (arrows, eggs, snowballs)
|
static int |
DISPENSER_SMOKE
data is the Direction.getIndex() of the direction the smoke is to come out of. |
static int |
DRAGON_FIREBALL_HIT |
static int |
END_PORTAL_FRAME_FILL |
static int |
ENDER_EYE_SHATTER |
static int |
ENDERDRAGON_SHOOT_SOUND |
static int |
ENDEREYE_LAUNCH_SOUND |
static int |
ENDERMAN_GROWL_SOUND |
static int |
FENCE_GATE_CLOSE_SOUND |
static int |
FENCE_GATE_OPEN_SOUND |
static int |
FIRE_EXTINGUISH_SOUND |
static int |
FIREWORK_SHOOT_SOUND |
static int |
GATEWAY_SPAWN_EFFECTS |
static int |
GHAST_SHOOT_SOUND |
static int |
GHAST_WARN_SOUND |
static int |
GRINDSTONE_USE_SOUND |
static int |
HUSK_CONVERT_TO_ZOMBIE_SOUND |
static int |
IRON_DOOR_CLOSE_SOUND |
static int |
IRON_DOOR_OPEN_SOUND |
static int |
IRON_TRAPDOOR_CLOSE_SOUND |
static int |
IRON_TRAPDOOR_OPEN_SOUND |
static int |
ITEM_BOOK_TURN_PAGE_SOUND |
static int |
LAVA_EXTINGUISH |
static int |
MOB_SPAWNER_PARTICLES |
static int |
PHANTOM_BITE_SOUND |
static int |
PLAY_RECORD_SOUND
data is the item ID of the record you want to play |
static int |
PORTAL_TRAVEL_SOUND |
static int |
POTION_IMPACT
data is the rgb color int that should be used for the potion particlesThis is the same as POTION_IMPACT_INSTANT but uses the particle type ParticleTypes.INSTANT_EFFECT |
static int |
POTION_IMPACT_INSTANT
data is the rgb color int that should be used for the potion particlesThis is the same as POTION_IMPACT but uses the particle type ParticleTypes.EFFECT |
static int |
REDSTONE_TORCH_BURNOUT |
static int |
SPAWN_EXPLOSION_PARTICLE |
static int |
WITHER_BREAK_BLOCK |
static int |
WITHER_BREAK_BLOCK_SOUND |
static int |
WITHER_SHOOT_SOUND |
static int |
WOODEN_DOOR_CLOSE_SOUND |
static int |
WOODEN_DOOR_OPEN_SOUND |
static int |
WOODEN_TRAPDOOR_CLOSE_SOUND |
static int |
WOODEN_TRAPDOOR_OPEN_SOUND |
static int |
ZOMBIE_ATTACK_DOOR_IRON_SOUND |
static int |
ZOMBIE_ATTACK_DOOR_WOOD_SOUND |
static int |
ZOMBIE_BREAK_DOOR_WOOD_SOUND |
static int |
ZOMBIE_CONVERT_TO_DROWNED_SOUND |
static int |
ZOMBIE_INFECT_SOUND |
static int |
ZOMBIE_VILLAGER_CONVERTED_SOUND |
Constructor and Description |
---|
WorldEvents() |
public static final int DISPENSER_DISPENSE_SOUND
public static final int DISPENSER_FAIL_SOUND
public static final int DISPENSER_LAUNCH_SOUND
public static final int ENDEREYE_LAUNCH_SOUND
public static final int FIREWORK_SHOOT_SOUND
public static final int IRON_DOOR_OPEN_SOUND
public static final int WOODEN_DOOR_OPEN_SOUND
public static final int WOODEN_TRAPDOOR_OPEN_SOUND
public static final int FENCE_GATE_OPEN_SOUND
public static final int FIRE_EXTINGUISH_SOUND
public static final int PLAY_RECORD_SOUND
data
is the item ID of the record you want to playpublic static final int IRON_DOOR_CLOSE_SOUND
public static final int WOODEN_DOOR_CLOSE_SOUND
public static final int WOODEN_TRAPDOOR_CLOSE_SOUND
public static final int FENCE_GATE_CLOSE_SOUND
public static final int GHAST_WARN_SOUND
public static final int GHAST_SHOOT_SOUND
public static final int ENDERDRAGON_SHOOT_SOUND
public static final int BLAZE_SHOOT_SOUND
public static final int ZOMBIE_ATTACK_DOOR_WOOD_SOUND
public static final int ZOMBIE_ATTACK_DOOR_IRON_SOUND
public static final int ZOMBIE_BREAK_DOOR_WOOD_SOUND
public static final int WITHER_BREAK_BLOCK_SOUND
public static final int WITHER_BREAK_BLOCK
public static final int WITHER_SHOOT_SOUND
public static final int BAT_TAKEOFF_SOUND
public static final int ZOMBIE_INFECT_SOUND
public static final int ZOMBIE_VILLAGER_CONVERTED_SOUND
public static final int ANVIL_DESTROYED_SOUND
public static final int ANVIL_USE_SOUND
public static final int ANVIL_LAND_SOUND
public static final int PORTAL_TRAVEL_SOUND
public static final int CHORUS_FLOWER_GROW_SOUND
public static final int CHORUS_FLOWER_DEATH_SOUND
public static final int BREWING_STAND_BREW_SOUND
public static final int IRON_TRAPDOOR_CLOSE_SOUND
public static final int IRON_TRAPDOOR_OPEN_SOUND
public static final int PHANTOM_BITE_SOUND
public static final int ZOMBIE_CONVERT_TO_DROWNED_SOUND
public static final int HUSK_CONVERT_TO_ZOMBIE_SOUND
public static final int GRINDSTONE_USE_SOUND
public static final int ITEM_BOOK_TURN_PAGE_SOUND
public static final int COMPOSTER_FILLED_UP
data
is bigger than 0 when the composter can still be filled up, and is smaller or equal to 0 when the composter is full. (This only effects the sound event)public static final int LAVA_EXTINGUISH
public static final int REDSTONE_TORCH_BURNOUT
public static final int END_PORTAL_FRAME_FILL
public static final int DISPENSER_SMOKE
data
is the Direction.getIndex()
of the direction the smoke is to come out of.public static final int BREAK_BLOCK_EFFECTS
data
is the state id
of the block brokenpublic static final int POTION_IMPACT_INSTANT
data
is the rgb color int that should be used for the potion particlesPOTION_IMPACT
but uses the particle type ParticleTypes.EFFECT
public static final int ENDER_EYE_SHATTER
public static final int MOB_SPAWNER_PARTICLES
public static final int BONEMEAL_PARTICLES
data
is the amount of particles to spawn. If data
is 0 then there will be 15 particles spawnedpublic static final int DRAGON_FIREBALL_HIT
public static final int POTION_IMPACT
data
is the rgb color int that should be used for the potion particlesPOTION_IMPACT_INSTANT
but uses the particle type ParticleTypes.INSTANT_EFFECT
public static final int SPAWN_EXPLOSION_PARTICLE
public static final int GATEWAY_SPAWN_EFFECTS
public static final int ENDERMAN_GROWL_SOUND