Class EndPlatformCreator

java.lang.Object
org.mvplugins.multiverse.netherportals.utils.EndPlatformCreator

@Service public class EndPlatformCreator extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createEndPlatform(org.bukkit.World world, boolean dropEndBlocks)
    Creates an end platform at the specified Block
    org.bukkit.Location
    getVanillaLocation(org.bukkit.entity.Entity entity, org.bukkit.World world)
    The default vanilla location for the end platform
    org.bukkit.Location
    getVanillaLocation(org.bukkit.entity.Entity entity, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world)
    The default vanilla location for the end platform

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EndPlatformCreator

      public EndPlatformCreator()
  • Method Details

    • createEndPlatform

      public void createEndPlatform(org.bukkit.World world, boolean dropEndBlocks)
      Creates an end platform at the specified Block
      Parameters:
      world - The world to create the platform in
      dropEndBlocks - If the platform should drop the broken blocks or delete them
    • getVanillaLocation

      public org.bukkit.Location getVanillaLocation(org.bukkit.entity.Entity entity, org.bukkit.World world)
      The default vanilla location for the end platform
    • getVanillaLocation

      public org.bukkit.Location getVanillaLocation(org.bukkit.entity.Entity entity, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world)
      The default vanilla location for the end platform