StaffItemComponent

public final class StaffItemComponent(source)

ItemStack wrapper to make them compatible with ComponentTypes.

Parameters

item

The item stored in this component. Must be copied before modifying it

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
public final static Codec<StaffItemComponent> CODEC
Link copied to clipboard
private final ItemStack item
Link copied to clipboard

Functions

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public final ItemStack getItem()
Link copied to clipboard
public Integer hashCode()