Class VersionHelperLatest

java.lang.Object
br.net.fabiozumbi12.RedProtect.Bukkit.helpers.VersionHelperLatest
All Implemented Interfaces:
VersionHelper, org.bukkit.event.Listener

public class VersionHelperLatest extends Object implements VersionHelper
  • Constructor Details

    • VersionHelperLatest

      public VersionHelperLatest()
  • Method Details

    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface VersionHelper
    • getPortalLocations

      public Set<org.bukkit.Location> getPortalLocations(org.bukkit.event.world.PortalCreateEvent e)
      Specified by:
      getPortalLocations in interface VersionHelper
    • denyEntLingPot

      public boolean denyEntLingPot(org.bukkit.event.entity.ProjectileHitEvent e, org.bukkit.World world)
      Specified by:
      denyEntLingPot in interface VersionHelper
    • getEntLingPot

      public org.bukkit.entity.Entity getEntLingPot(org.bukkit.event.entity.ProjectileHitEvent e)
      Specified by:
      getEntLingPot in interface VersionHelper
    • getPlayerLingPot

      public org.bukkit.projectiles.ProjectileSource getPlayerLingPot(org.bukkit.event.entity.ProjectileHitEvent e)
      Specified by:
      getPlayerLingPot in interface VersionHelper
    • getBlockRelative

      public org.bukkit.block.Block getBlockRelative(org.bukkit.block.Block block)
      Specified by:
      getBlockRelative in interface VersionHelper
    • toggleDoor

      public void toggleDoor(org.bukkit.block.Block b)
      Specified by:
      toggleDoor in interface VersionHelper
    • isOpenable

      public boolean isOpenable(org.bukkit.block.Block b)
      Specified by:
      isOpenable in interface VersionHelper
    • setGuiItems

      public br.net.fabiozumbi12.RedProtect.Core.config.Category.FlagGuiCategory setGuiItems(br.net.fabiozumbi12.RedProtect.Core.config.Category.FlagGuiCategory guiRoot)
      Specified by:
      setGuiItems in interface VersionHelper
    • existParticle

      public boolean existParticle(String particle)
      Specified by:
      existParticle in interface VersionHelper
    • spawnParticle

      public boolean spawnParticle(org.bukkit.World world, String particle, double x, double y, double z)
      Specified by:
      spawnParticle in interface VersionHelper