Interface ConjureData
- All Known Implementing Classes:
ConjureDataHolder
public interface ConjureData
This is the interface that we will use later to interact with the conjure item data!! Loading this as an interface and
later implemented by the loaders from "scratch" is basically because we need a similar way to load-change data for
Fabric and forge, with this we're trying to create a mask that we will trust that the loaders won't have any problem
saving and handling the data.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintlongdefault intgetRemainingLifetime(long currentGameTime) default booleanhasExpired(long currentGameTime) booleanvoidsetDuration(int duration) voidsetExpireTime(long expireTime) voidsetSummoned(boolean summoned)
-
Method Details
-
getExpireTime
long getExpireTime() -
setExpireTime
void setExpireTime(long expireTime) -
getDuration
int getDuration() -
setDuration
void setDuration(int duration) -
isSummoned
boolean isSummoned() -
setSummoned
void setSummoned(boolean summoned) -
hasExpired
default boolean hasExpired(long currentGameTime) -
getRemainingLifetime
default int getRemainingLifetime(long currentGameTime)
-