Package at.petrak.hexcasting.fabric.cc
Class CCFlight
java.lang.Object
at.petrak.hexcasting.fabric.cc.CCFlight
- All Implemented Interfaces:
dev.onyxstudios.cca.api.v3.component.Component
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat.petrak.hexcasting.api.player.FlightAbilityvoidreadFromNbt(net.minecraft.nbt.CompoundTag tag) voidsetFlight(at.petrak.hexcasting.api.player.FlightAbility flight) voidwriteToNbt(net.minecraft.nbt.CompoundTag tag) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.onyxstudios.cca.api.v3.component.Component
equals
-
Field Details
-
TAG_ALLOWED
- See Also:
-
TAG_TIME_LEFT
- See Also:
-
TAG_DIMENSION
- See Also:
-
TAG_ORIGIN
- See Also:
-
TAG_RADIUS
- See Also:
-
-
Constructor Details
-
CCFlight
public CCFlight(net.minecraft.server.level.ServerPlayer owner)
-
-
Method Details
-
getFlight
public at.petrak.hexcasting.api.player.FlightAbility getFlight() -
setFlight
public void setFlight(at.petrak.hexcasting.api.player.FlightAbility flight) -
readFromNbt
public void readFromNbt(net.minecraft.nbt.CompoundTag tag) - Specified by:
readFromNbtin interfacedev.onyxstudios.cca.api.v3.component.Component
-
writeToNbt
public void writeToNbt(net.minecraft.nbt.CompoundTag tag) - Specified by:
writeToNbtin interfacedev.onyxstudios.cca.api.v3.component.Component
-