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, transform
getContentVersion, toContainer
MutableBoundedValue<Integer> delay()
MutableBoundedValue
for the "despawn delay".Keys.DESPAWN_DELAY
Value<Boolean> infinite()
Value
for the "is infinite" state of
the despawn delay.Keys.INFINITE_DESPAWN_DELAY