Class Constants.WorldEvents

  • Enclosing class:
    Constants

    public static class Constants.WorldEvents
    extends java.lang.Object
    The world event IDS, used when calling IWorld#playEvent(int, BlockPos, int).
    Can be found from net.minecraft.client.renderer.WorldRenderer#playEvent
    Some of the events use the data parameter. If this is the case, an explanation of what data does is also provided
    • Field Detail

      • DISPENSER_DISPENSE_SOUND

        public static final int DISPENSER_DISPENSE_SOUND
        See Also:
        Constant Field Values
      • DISPENSER_LAUNCH_SOUND

        public static final int DISPENSER_LAUNCH_SOUND
        Like DISPENSER_DISPENSE_SOUND, but for items that are fired (arrows, eggs, snowballs)
        See Also:
        Constant Field Values
      • WOODEN_TRAPDOOR_OPEN_SOUND

        public static final int WOODEN_TRAPDOOR_OPEN_SOUND
        See Also:
        Constant Field Values
      • PLAY_RECORD_SOUND

        public static final int PLAY_RECORD_SOUND
        data is the item ID of the record you want to play
        See Also:
        Constant Field Values
      • WOODEN_DOOR_CLOSE_SOUND

        public static final int WOODEN_DOOR_CLOSE_SOUND
        See Also:
        Constant Field Values
      • WOODEN_TRAPDOOR_CLOSE_SOUND

        public static final int WOODEN_TRAPDOOR_CLOSE_SOUND
        See Also:
        Constant Field Values
      • ENDERDRAGON_SHOOT_SOUND

        public static final int ENDERDRAGON_SHOOT_SOUND
        See Also:
        Constant Field Values
      • ZOMBIE_ATTACK_DOOR_WOOD_SOUND

        public static final int ZOMBIE_ATTACK_DOOR_WOOD_SOUND
        See Also:
        Constant Field Values
      • ZOMBIE_ATTACK_DOOR_IRON_SOUND

        public static final int ZOMBIE_ATTACK_DOOR_IRON_SOUND
        See Also:
        Constant Field Values
      • ZOMBIE_BREAK_DOOR_WOOD_SOUND

        public static final int ZOMBIE_BREAK_DOOR_WOOD_SOUND
        See Also:
        Constant Field Values
      • WITHER_BREAK_BLOCK_SOUND

        public static final int WITHER_BREAK_BLOCK_SOUND
        See Also:
        Constant Field Values
      • ZOMBIE_VILLAGER_CONVERTED_SOUND

        public static final int ZOMBIE_VILLAGER_CONVERTED_SOUND
        See Also:
        Constant Field Values
      • CHORUS_FLOWER_GROW_SOUND

        public static final int CHORUS_FLOWER_GROW_SOUND
        See Also:
        Constant Field Values
      • CHORUS_FLOWER_DEATH_SOUND

        public static final int CHORUS_FLOWER_DEATH_SOUND
        See Also:
        Constant Field Values
      • BREWING_STAND_BREW_SOUND

        public static final int BREWING_STAND_BREW_SOUND
        See Also:
        Constant Field Values
      • IRON_TRAPDOOR_CLOSE_SOUND

        public static final int IRON_TRAPDOOR_CLOSE_SOUND
        See Also:
        Constant Field Values
      • IRON_TRAPDOOR_OPEN_SOUND

        public static final int IRON_TRAPDOOR_OPEN_SOUND
        See Also:
        Constant Field Values
      • ZOMBIE_CONVERT_TO_DROWNED_SOUND

        public static final int ZOMBIE_CONVERT_TO_DROWNED_SOUND
        See Also:
        Constant Field Values
      • HUSK_CONVERT_TO_ZOMBIE_SOUND

        public static final int HUSK_CONVERT_TO_ZOMBIE_SOUND
        See Also:
        Constant Field Values
      • ITEM_BOOK_TURN_PAGE_SOUND

        public static final int ITEM_BOOK_TURN_PAGE_SOUND
        See Also:
        Constant Field Values
      • COMPOSTER_FILLED_UP

        public static final 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. (This only effects the sound event)
        See Also:
        Constant Field Values
      • DISPENSER_SMOKE

        public static final int DISPENSER_SMOKE
        data is the Direction#getIndex() of the direction the smoke is to come out of.
        See Also:
        Constant Field Values
      • BREAK_BLOCK_EFFECTS

        public static final int BREAK_BLOCK_EFFECTS
        data is the state id of the block broken
        See Also:
        Constant Field Values
      • BONEMEAL_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 spawned
        See Also:
        Constant Field Values
      • SPAWN_EXPLOSION_PARTICLE

        public static final int SPAWN_EXPLOSION_PARTICLE
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorldEvents

        public WorldEvents()