Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4502

EntityBlockFormEvent is not called when an entity forms frosted ice using Frost Walker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Ubuntu 18.04 (LTS)

    • git-Spigot-a1f2566-97b0057 (MC: 1.13.2)
    • Yes

      EntityBlockFormEvent doesn't trigger when an entity forms frosted ice using the frost walker enchantment, this occurs for both Frost Walker I and Frost Walker II.

      https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/a09454032a06eeeb9e405167a9a4aff02b4ce0f9

      Tested using the code below:

      public void onEnable()
      {
          getServer().getPluginManager().registerEvents(this, this);
      }
      
      @EventHandler
      public void onEntityBlockForm(EntityBlockFormEvent event)
      {
          if (event.getEntity() instanceof Player)
          {
              if (event.getBlock().getType().equals(Material.FROSTED_ICE))
              {
                  System.out.println("Success!");
              }
          }
      }
      

            Unassigned Unassigned
            OinkyOverlord Oinky Overlord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: