Class WerewolfInventory
java.lang.Object
de.teamlapen.werewolves.entities.player.werewolf.WerewolfInventory
- All Implemented Interfaces:
de.teamlapen.lib.lib.storage.INBTObject,de.teamlapen.lib.lib.storage.ISavable,de.teamlapen.lib.lib.storage.ISyncable,de.teamlapen.lib.lib.storage.ISyncableSaveData,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
public class WerewolfInventory
extends Object
implements de.teamlapen.lib.lib.storage.ISyncableSaveData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserializeNBT(@NotNull net.minecraft.nbt.CompoundTag compoundTag) voiddeserializeUpdateNBT(@NotNull net.minecraft.nbt.CompoundTag compoundTag) voidvoiddropFormEquipment(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) nbtKey()@NotNull net.minecraft.nbt.CompoundTag@NotNull net.minecraft.nbt.CompoundTagvoidswapArmorItems(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm to)
-
Constructor Details
-
WerewolfInventory
-
-
Method Details
-
swapArmorItems
public void swapArmorItems(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm to) -
dropEquipment
public void dropEquipment() -
dropFormEquipment
public void dropFormEquipment(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) -
serializeNBT
@NotNull public @NotNull net.minecraft.nbt.CompoundTag serializeNBT()- Specified by:
serializeNBTin interfacenet.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>- Specified by:
serializeNBTin interfacede.teamlapen.lib.lib.storage.ISavable
-
deserializeNBT
public void deserializeNBT(@NotNull @NotNull net.minecraft.nbt.CompoundTag compoundTag) - Specified by:
deserializeNBTin interfacenet.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>- Specified by:
deserializeNBTin interfacede.teamlapen.lib.lib.storage.ISavable
-
deserializeUpdateNBT
public void deserializeUpdateNBT(@NotNull @NotNull net.minecraft.nbt.CompoundTag compoundTag) - Specified by:
deserializeUpdateNBTin interfacede.teamlapen.lib.lib.storage.ISyncable
-
serializeUpdateNBT
@NotNull public @NotNull net.minecraft.nbt.CompoundTag serializeUpdateNBT()- Specified by:
serializeUpdateNBTin interfacede.teamlapen.lib.lib.storage.ISyncable
-
nbtKey
- Specified by:
nbtKeyin interfacede.teamlapen.lib.lib.storage.INBTObject
-