> For the complete documentation index, see [llms.txt](https://sonic-rokas.gitbook.io/easybungee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sonic-rokas.gitbook.io/easybungee/for-developers/spigotworld.md).

# SpigotWorld

## Constructors:

#### new SpigotWorld(String serverName,String worldName);

```
serverName - world's server's name
worldName - world's name
```

## Methods:

#### getBlockAt(SpigotLocation loc)

loc - location of the block you want to get

Gets the block at a specified location

#### setBlock(SpigotBlock block)

block - the block you want to set

Sets the block

#### dropItem(SpigotLocation loc,SpigotItem item)

loc - the location where you want to drop the item

item - the item you want to drop

#### playSound(SpigotLocation loc,SpigotSound sound)

loc - the location where you want to play the sound

sound - the sound you want to play

#### spawnEntity(SpigotLocation loc, String entityType)

loc - the location where you want to spawn the entity

entityType - the entity type
