Jump to content

zuyn123

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by zuyn123

  1. I have tried with home\ and without it but results in the same error

     

     

    [Skript] method #load called with (home\plugins\FastAsyncWorldEdit\schematics\schem.schem (File)) threw a FileNotFoundException: home\plugins\FastAsyncWorldEdit\schematics\schem.schem (No such file or directory)

     

     

    import:
        com.sk89q.worldedit.extent.clipboard.io.ClipboardFormats
        com.sk89q.worldedit.bukkit.BukkitWorld
        com.sk89q.worldedit.math.BlockVector3
        java.io.File
    
    effect paste schematic %string% at %location% [(1¦(with|including) air)]:
        trigger:
            set {_schematic} to new File(expr-1)
            set {_pos} to BlockVector3.at((x-pos of expr-2), (y-pos of expr-2), (z-pos of expr-2))
            set {_includeAir} to true if parse mark = 1, else false
            await ClipboardFormats.findByFile({_schematic}).load({_schematic}).paste(new BukkitWorld(world of expr-2), {_pos}, true, {_includeAir}, null)
    		
    
    
    
    command /test:
    	trigger:
    		paste schematic "home\plugins\FastAsyncWorldEdit\schematics\schem.schem" at player's location with air
  2. I have tried with home\ and without it but results in the same error

     

     

    [Skript] method #load called with (home\plugins\FastAsyncWorldEdit\schematics\schem.schem (File)) threw a FileNotFoundException: home\plugins\FastAsyncWorldEdit\schematics\schem.schem (No such file or directory)

     

     

    import:
        com.sk89q.worldedit.extent.clipboard.io.ClipboardFormats
        com.sk89q.worldedit.bukkit.BukkitWorld
        com.sk89q.worldedit.math.BlockVector3
        java.io.File
    
    effect paste schematic %string% at %location% [(1¦(with|including) air)]:
        trigger:
            set {_schematic} to new File(expr-1)
            set {_pos} to BlockVector3.at((x-pos of expr-2), (y-pos of expr-2), (z-pos of expr-2))
            set {_includeAir} to true if parse mark = 1, else false
            await ClipboardFormats.findByFile({_schematic}).load({_schematic}).paste(new BukkitWorld(world of expr-2), {_pos}, true, {_includeAir}, null)
    		
    
    
    
    command /test:
    	trigger:
    		paste schematic "home\plugins\FastAsyncWorldEdit\schematics\schem.schem" at player's location with air

     

×
×
  • Create New...