Package net.minecraftforge.common.util
Class Constants.WorldEvents
java.lang.Object
net.minecraftforge.common.util.Constants.WorldEvents
- Enclosing class:
 - Constants
 
The world event IDS, used when calling 
Can be found from
Some of the events use the
IWorld#playEvent(int, BlockPos, int). Can be found from
net.minecraft.client.renderer.WorldRenderer#playEventSome of the events use the
data parameter. If this is the case, an explanation of what data does is also provided- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intdatais the amount of particles to spawn.static final intdatais thestate idof the block brokenstatic final intstatic final intstatic final intstatic final intSpawns the composter particles and plays the sound event sound event
datais bigger than 0 when the composter can still be filled up, and is smaller or equal to 0 when the composter is full.static final intstatic final intstatic final intLike DISPENSER_DISPENSE_SOUND, but for items that are fired (arrows, eggs, snowballs)static final intdatais theDirection#getIndex()of the direction the smoke is to come out of.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intdatais the item ID of the record you want to playstatic final intstatic final intdatais the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACT_INSTANTbut uses the particle typeParticleTypes.INSTANT_EFFECTstatic final intdatais the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACTbut uses the particle typeParticleTypes.EFFECTstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
DISPENSER_DISPENSE_SOUND
public static final int DISPENSER_DISPENSE_SOUND- See Also:
 
 - 
DISPENSER_FAIL_SOUND
public static final int DISPENSER_FAIL_SOUND- See Also:
 
 - 
DISPENSER_LAUNCH_SOUND
public static final int DISPENSER_LAUNCH_SOUNDLike DISPENSER_DISPENSE_SOUND, but for items that are fired (arrows, eggs, snowballs)- See Also:
 
 - 
ENDEREYE_LAUNCH_SOUND
public static final int ENDEREYE_LAUNCH_SOUND- See Also:
 
 - 
FIREWORK_SHOOT_SOUND
public static final int FIREWORK_SHOOT_SOUND- See Also:
 
 - 
IRON_DOOR_OPEN_SOUND
public static final int IRON_DOOR_OPEN_SOUND- See Also:
 
 - 
WOODEN_DOOR_OPEN_SOUND
public static final int WOODEN_DOOR_OPEN_SOUND- See Also:
 
 - 
WOODEN_TRAPDOOR_OPEN_SOUND
public static final int WOODEN_TRAPDOOR_OPEN_SOUND- See Also:
 
 - 
FENCE_GATE_OPEN_SOUND
public static final int FENCE_GATE_OPEN_SOUND- See Also:
 
 - 
FIRE_EXTINGUISH_SOUND
public static final int FIRE_EXTINGUISH_SOUND- See Also:
 
 - 
PLAY_RECORD_SOUND
public static final int PLAY_RECORD_SOUNDdatais the item ID of the record you want to play- See Also:
 
 - 
IRON_DOOR_CLOSE_SOUND
public static final int IRON_DOOR_CLOSE_SOUND- See Also:
 
 - 
WOODEN_DOOR_CLOSE_SOUND
public static final int WOODEN_DOOR_CLOSE_SOUND- See Also:
 
 - 
WOODEN_TRAPDOOR_CLOSE_SOUND
public static final int WOODEN_TRAPDOOR_CLOSE_SOUND- See Also:
 
 - 
FENCE_GATE_CLOSE_SOUND
public static final int FENCE_GATE_CLOSE_SOUND- See Also:
 
 - 
GHAST_WARN_SOUND
public static final int GHAST_WARN_SOUND- See Also:
 
 - 
GHAST_SHOOT_SOUND
public static final int GHAST_SHOOT_SOUND- See Also:
 
 - 
ENDERDRAGON_SHOOT_SOUND
public static final int ENDERDRAGON_SHOOT_SOUND- See Also:
 
 - 
BLAZE_SHOOT_SOUND
public static final int BLAZE_SHOOT_SOUND- See Also:
 
 - 
ZOMBIE_ATTACK_DOOR_WOOD_SOUND
public static final int ZOMBIE_ATTACK_DOOR_WOOD_SOUND- See Also:
 
 - 
ZOMBIE_ATTACK_DOOR_IRON_SOUND
public static final int ZOMBIE_ATTACK_DOOR_IRON_SOUND- See Also:
 
 - 
ZOMBIE_BREAK_DOOR_WOOD_SOUND
public static final int ZOMBIE_BREAK_DOOR_WOOD_SOUND- See Also:
 
 - 
WITHER_BREAK_BLOCK_SOUND
public static final int WITHER_BREAK_BLOCK_SOUND- See Also:
 
 - 
WITHER_BREAK_BLOCK
public static final int WITHER_BREAK_BLOCK- See Also:
 
 - 
WITHER_SHOOT_SOUND
public static final int WITHER_SHOOT_SOUND- See Also:
 
 - 
BAT_TAKEOFF_SOUND
public static final int BAT_TAKEOFF_SOUND- See Also:
 
 - 
ZOMBIE_INFECT_SOUND
public static final int ZOMBIE_INFECT_SOUND- See Also:
 
 - 
ZOMBIE_VILLAGER_CONVERTED_SOUND
public static final int ZOMBIE_VILLAGER_CONVERTED_SOUND- See Also:
 
 - 
ANVIL_DESTROYED_SOUND
public static final int ANVIL_DESTROYED_SOUND- See Also:
 
 - 
ANVIL_USE_SOUND
public static final int ANVIL_USE_SOUND- See Also:
 
 - 
ANVIL_LAND_SOUND
public static final int ANVIL_LAND_SOUND- See Also:
 
 - 
PORTAL_TRAVEL_SOUND
public static final int PORTAL_TRAVEL_SOUND- See Also:
 
 - 
CHORUS_FLOWER_GROW_SOUND
public static final int CHORUS_FLOWER_GROW_SOUND- See Also:
 
 - 
CHORUS_FLOWER_DEATH_SOUND
public static final int CHORUS_FLOWER_DEATH_SOUND- See Also:
 
 - 
BREWING_STAND_BREW_SOUND
public static final int BREWING_STAND_BREW_SOUND- See Also:
 
 - 
IRON_TRAPDOOR_CLOSE_SOUND
public static final int IRON_TRAPDOOR_CLOSE_SOUND- See Also:
 
 - 
IRON_TRAPDOOR_OPEN_SOUND
public static final int IRON_TRAPDOOR_OPEN_SOUND- See Also:
 
 - 
PHANTOM_BITE_SOUND
public static final int PHANTOM_BITE_SOUND- See Also:
 
 - 
ZOMBIE_CONVERT_TO_DROWNED_SOUND
public static final int ZOMBIE_CONVERT_TO_DROWNED_SOUND- See Also:
 
 - 
HUSK_CONVERT_TO_ZOMBIE_SOUND
public static final int HUSK_CONVERT_TO_ZOMBIE_SOUND- See Also:
 
 - 
GRINDSTONE_USE_SOUND
public static final int GRINDSTONE_USE_SOUND- See Also:
 
 - 
ITEM_BOOK_TURN_PAGE_SOUND
public static final int ITEM_BOOK_TURN_PAGE_SOUND- See Also:
 
 - 
COMPOSTER_FILLED_UP
public static final int COMPOSTER_FILLED_UPSpawns the composter particles and plays the sound event sound event
datais 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)- See Also:
 
 - 
LAVA_EXTINGUISH
public static final int LAVA_EXTINGUISH- See Also:
 
 - 
REDSTONE_TORCH_BURNOUT
public static final int REDSTONE_TORCH_BURNOUT- See Also:
 
 - 
END_PORTAL_FRAME_FILL
public static final int END_PORTAL_FRAME_FILL- See Also:
 
 - 
DISPENSER_SMOKE
public static final int DISPENSER_SMOKEdatais theDirection#getIndex()of the direction the smoke is to come out of.- See Also:
 
 - 
BREAK_BLOCK_EFFECTS
public static final int BREAK_BLOCK_EFFECTSdatais thestate idof the block broken- See Also:
 
 - 
POTION_IMPACT_INSTANT
public static final int POTION_IMPACT_INSTANTdatais the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACTbut uses the particle typeParticleTypes.EFFECT- See Also:
 
 - 
ENDER_EYE_SHATTER
public static final int ENDER_EYE_SHATTER- See Also:
 
 - 
MOB_SPAWNER_PARTICLES
public static final int MOB_SPAWNER_PARTICLES- See Also:
 
 - 
BONEMEAL_PARTICLES
public static final int BONEMEAL_PARTICLESdatais the amount of particles to spawn. Ifdatais 0 then there will be 15 particles spawned- See Also:
 
 - 
DRAGON_FIREBALL_HIT
public static final int DRAGON_FIREBALL_HIT- See Also:
 
 - 
POTION_IMPACT
public static final int POTION_IMPACTdatais the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACT_INSTANTbut uses the particle typeParticleTypes.INSTANT_EFFECT- See Also:
 
 - 
SPAWN_EXPLOSION_PARTICLE
public static final int SPAWN_EXPLOSION_PARTICLE- See Also:
 
 - 
GATEWAY_SPAWN_EFFECTS
public static final int GATEWAY_SPAWN_EFFECTS- See Also:
 
 - 
ENDERMAN_GROWL_SOUND
public static final int ENDERMAN_GROWL_SOUND- See Also:
 
 
 - 
 - 
Constructor Details
- 
WorldEvents
public WorldEvents() 
 -