Package net.minecraftforge.common.util
Class Constants.WorldEvents
java.lang.Object
net.minecraftforge.common.util.Constants.WorldEvents
- Enclosing class:
- Constants
Deprecated, for removal: This API element is subject to removal in a future version.
The world event IDS, used when calling
Can be found from
Some of the events use the
Level.globalLevelEvent(int, BlockPos, int)
. Can be found from
LevelRenderer.globalLevelEvent(int, BlockPos, int)
Some of the events use the
data
parameter. If this is the case, an explanation of what data
does is also provided-
Field Summary
Modifier and TypeFieldDescriptionstatic int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.data
is the amount of particles to spawn.static int
Deprecated, for removal: This API element is subject to removal in a future version.data
is theBlock.getId(BlockState)
state id} of the block brokenstatic int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.Like DISPENSER_DISPENSE_SOUND, but for items that are fired (arrows, eggs, snowballs)static int
Deprecated, for removal: This API element is subject to removal in a future version.data
is theDirection.get3DDataValue()
of the direction the smoke is to come out of.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.data
is the item ID of the record you want to playstatic int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.data
is the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACT_INSTANT
but uses the particle typeParticleTypes.INSTANT_EFFECT
static int
Deprecated, for removal: This API element is subject to removal in a future version.data
is the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACT
but uses the particle typeParticleTypes.EFFECT
static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version.static int
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Field Details
-
DISPENSER_DISPENSE_SOUND
public static final int DISPENSER_DISPENSE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
DISPENSER_FAIL_SOUND
public static final int DISPENSER_FAIL_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
DISPENSER_LAUNCH_SOUND
public static final int DISPENSER_LAUNCH_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.Like DISPENSER_DISPENSE_SOUND, but for items that are fired (arrows, eggs, snowballs)- See Also:
- Constant Field Values
-
ENDEREYE_LAUNCH_SOUND
public static final int ENDEREYE_LAUNCH_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
FIREWORK_SHOOT_SOUND
public static final int FIREWORK_SHOOT_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
IRON_DOOR_OPEN_SOUND
public static final int IRON_DOOR_OPEN_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WOODEN_DOOR_OPEN_SOUND
public static final int WOODEN_DOOR_OPEN_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WOODEN_TRAPDOOR_OPEN_SOUND
public static final int WOODEN_TRAPDOOR_OPEN_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
FENCE_GATE_OPEN_SOUND
public static final int FENCE_GATE_OPEN_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
FIRE_EXTINGUISH_SOUND
public static final int FIRE_EXTINGUISH_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
PLAY_RECORD_SOUND
public static final int PLAY_RECORD_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.data
is the item ID of the record you want to play- See Also:
- Constant Field Values
-
IRON_DOOR_CLOSE_SOUND
public static final int IRON_DOOR_CLOSE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WOODEN_DOOR_CLOSE_SOUND
public static final int WOODEN_DOOR_CLOSE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WOODEN_TRAPDOOR_CLOSE_SOUND
public static final int WOODEN_TRAPDOOR_CLOSE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
FENCE_GATE_CLOSE_SOUND
public static final int FENCE_GATE_CLOSE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
GHAST_WARN_SOUND
public static final int GHAST_WARN_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
GHAST_SHOOT_SOUND
public static final int GHAST_SHOOT_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ENDERDRAGON_SHOOT_SOUND
public static final int ENDERDRAGON_SHOOT_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
BLAZE_SHOOT_SOUND
public static final int BLAZE_SHOOT_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ZOMBIE_ATTACK_DOOR_WOOD_SOUND
public static final int ZOMBIE_ATTACK_DOOR_WOOD_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ZOMBIE_ATTACK_DOOR_IRON_SOUND
public static final int ZOMBIE_ATTACK_DOOR_IRON_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ZOMBIE_BREAK_DOOR_WOOD_SOUND
public static final int ZOMBIE_BREAK_DOOR_WOOD_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WITHER_BREAK_BLOCK_SOUND
public static final int WITHER_BREAK_BLOCK_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WITHER_BREAK_BLOCK
public static final int WITHER_BREAK_BLOCKDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
WITHER_SHOOT_SOUND
public static final int WITHER_SHOOT_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
BAT_TAKEOFF_SOUND
public static final int BAT_TAKEOFF_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ZOMBIE_INFECT_SOUND
public static final int ZOMBIE_INFECT_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ZOMBIE_VILLAGER_CONVERTED_SOUND
public static final int ZOMBIE_VILLAGER_CONVERTED_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ANVIL_DESTROYED_SOUND
public static final int ANVIL_DESTROYED_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ANVIL_USE_SOUND
public static final int ANVIL_USE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ANVIL_LAND_SOUND
public static final int ANVIL_LAND_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
PORTAL_TRAVEL_SOUND
public static final int PORTAL_TRAVEL_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
CHORUS_FLOWER_GROW_SOUND
public static final int CHORUS_FLOWER_GROW_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
CHORUS_FLOWER_DEATH_SOUND
public static final int CHORUS_FLOWER_DEATH_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
BREWING_STAND_BREW_SOUND
public static final int BREWING_STAND_BREW_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
IRON_TRAPDOOR_CLOSE_SOUND
public static final int IRON_TRAPDOOR_CLOSE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
IRON_TRAPDOOR_OPEN_SOUND
public static final int IRON_TRAPDOOR_OPEN_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
PHANTOM_BITE_SOUND
public static final int PHANTOM_BITE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ZOMBIE_CONVERT_TO_DROWNED_SOUND
public static final int ZOMBIE_CONVERT_TO_DROWNED_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
HUSK_CONVERT_TO_ZOMBIE_SOUND
public static final int HUSK_CONVERT_TO_ZOMBIE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
GRINDSTONE_USE_SOUND
public static final int GRINDSTONE_USE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ITEM_BOOK_TURN_PAGE_SOUND
public static final int ITEM_BOOK_TURN_PAGE_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
COMPOSTER_FILLED_UP
public static final int COMPOSTER_FILLED_UPDeprecated, for removal: This API element is subject to removal in a future version.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. (This only effects the sound event)- See Also:
- Constant Field Values
-
LAVA_EXTINGUISH
public static final int LAVA_EXTINGUISHDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
REDSTONE_TORCH_BURNOUT
public static final int REDSTONE_TORCH_BURNOUTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
END_PORTAL_FRAME_FILL
public static final int END_PORTAL_FRAME_FILLDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
DISPENSER_SMOKE
public static final int DISPENSER_SMOKEDeprecated, for removal: This API element is subject to removal in a future version.data
is theDirection.get3DDataValue()
of the direction the smoke is to come out of.- See Also:
- Constant Field Values
-
BREAK_BLOCK_EFFECTS
public static final int BREAK_BLOCK_EFFECTSDeprecated, for removal: This API element is subject to removal in a future version.data
is theBlock.getId(BlockState)
state id} of the block broken- See Also:
- Constant Field Values
-
POTION_IMPACT_INSTANT
public static final int POTION_IMPACT_INSTANTDeprecated, for removal: This API element is subject to removal in a future version.data
is the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACT
but uses the particle typeParticleTypes.EFFECT
- See Also:
- Constant Field Values
-
ENDER_EYE_SHATTER
public static final int ENDER_EYE_SHATTERDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
MOB_SPAWNER_PARTICLES
public static final int MOB_SPAWNER_PARTICLESDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
BONEMEAL_PARTICLES
public static final int BONEMEAL_PARTICLESDeprecated, for removal: This API element is subject to removal in a future version.data
is the amount of particles to spawn. Ifdata
is 0 then there will be 15 particles spawned- See Also:
- Constant Field Values
-
DRAGON_FIREBALL_HIT
public static final int DRAGON_FIREBALL_HITDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
POTION_IMPACT
public static final int POTION_IMPACTDeprecated, for removal: This API element is subject to removal in a future version.data
is the rgb color int that should be used for the potion particles
This is the same asPOTION_IMPACT_INSTANT
but uses the particle typeParticleTypes.INSTANT_EFFECT
- See Also:
- Constant Field Values
-
SPAWN_EXPLOSION_PARTICLE
public static final int SPAWN_EXPLOSION_PARTICLEDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
GATEWAY_SPAWN_EFFECTS
public static final int GATEWAY_SPAWN_EFFECTSDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ENDERMAN_GROWL_SOUND
public static final int ENDERMAN_GROWL_SOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
-
Constructor Details
-
WorldEvents
public WorldEvents()Deprecated, for removal: This API element is subject to removal in a future version.
-
LevelEvent
. TODO Remove in 1.18