Class SpellVar<T>
java.lang.Object
com.binaris.wizardry.api.content.data.SpellVar<T>
- All Implemented Interfaces:
ISpellVar<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPersistent(boolean respawn) booleanisSynced()read(net.minecraft.network.FriendlyByteBuf buf) withTicker(BiFunction<net.minecraft.world.entity.player.Player, T, T> ticker) void
-
Constructor Details
-
SpellVar
-
-
Method Details
-
withTicker
-
update
-
isPersistent
public boolean isPersistent(boolean respawn) - Specified by:
isPersistentin interfaceISpellVar<T>
-
isSynced
public boolean isSynced() -
write
-
read
-