public interface DespawnDelayData extends DataManipulator<DespawnDelayData,ImmutableDespawnDelayData>
DataManipulator for handling the "despawn delay" of an
Item.| Modifier and Type | Method and Description |
|---|---|
MutableBoundedValue<Integer> |
delay()
Gets the
MutableBoundedValue for the "despawn delay". |
Value<Boolean> |
infinite()
Gets the
Value for the "is infinite" state of
the despawn delay. |
asImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerMutableBoundedValue<Integer> delay()
MutableBoundedValue for the "despawn delay".Keys.DESPAWN_DELAYValue<Boolean> infinite()
Value for the "is infinite" state of
the despawn delay.Keys.INFINITE_DESPAWN_DELAY