> 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/spigotblock.md).

# SpigotBlock

## Constructors:

#### new SpigotBlock(String material,SpigotLocation loc,int blockStateData);

```
material - block material
loc - block loc
blockStateData - blockState
```

## Methods:

#### breakNaturally()

breaks the block naturally

#### setMaterial(String material)

material - the material you want to set the block

changes the block's material

#### setStateData(int data)

data- the state you want to set the block

changes the block's state
