# PedestalData
> Holds all data for a pedestal crafting station including its recipe, position, and usage tracking.
`gg.lode.observerapi.api.data.pedestals`
---
## Signature
```java
public record PedestalData(String id, Location position, List<ItemStack> ingredients, ItemStack result, int maxUses, float itemHeight, PedestalType pedestalType, HashMap<UUID, Integer> uses)
```
---
## Methods
### id
```java
public String id()
```
**Returns:** `String` - the unique identifier for this pedestal
---
### position
```java
public Location position()
```
**Returns:** `Location` - the world location of this pedestal
---
### ingredients
```java
public List<ItemStack> ingredients()
```
**Returns:** `List<ItemStack>` - the required ingredients
---
### result
```java
public ItemStack result()
```
**Returns:** `ItemStack` - the crafting result
---
### maxUses
```java
public int maxUses()
```
**Returns:** `int` - the maximum number of uses (for `PER_PLAYER` type)
---
### itemHeight
```java
public float itemHeight()
```
**Returns:** `float` - the height offset for the holographic item display
---
### pedestalType
```java
public PedestalType pedestalType()
```
**Returns:** [[PedestalType]] - the usage limitation type
---
### uses
```java
public HashMap<UUID, Integer> uses()
```
**Returns:** `HashMap<UUID, Integer>` - map of player UUIDs to their usage count
---
### isAvailableFor
```java
public boolean isAvailableFor(Player player)
```
Checks if the pedestal is available for the given player based on their usage count and `maxUses`.
**Returns:** `boolean` - `true` if the player can use this pedestal
---
### of
```java
public static PedestalData of(String id, Location position, List<ItemStack> ingredients, ItemStack result, int maxUses, PedestalType pedestalType)
```
Factory method that creates a `PedestalData` with default `itemHeight` of `1.0f` and an empty `uses` map.
**Returns:** `PedestalData` - a new pedestal data instance
---
### relocate
```java
public PedestalData relocate(Location location)
```
Creates a copy of this pedestal at a new location.
**Returns:** `PedestalData` - a new pedestal data instance at the given location
---
## Related Pages
- [[PedestalType]]
- [[IPedestalHologram]]
- [[IPedestalManager]]
- [[PedestalCraftEvent]]
- [[PedestalLoadEvent]]
- [[PrePedestalCraftEvent]]