Class LearnableMove

java.lang.Object
com.pixelmonmod.pixelmon.api.tutor.LearnableMove

public class LearnableMove extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<LearnableMove> CODEC
  • Constructor Details

    • LearnableMove

      public LearnableMove()
    • LearnableMove

      public LearnableMove(String attackid, List<net.minecraft.world.item.ItemStack> costs, boolean learnable)
    • LearnableMove

      public LearnableMove(ImmutableAttack attack, List<net.minecraft.world.item.ItemStack> costs, boolean learnable)
    • LearnableMove

      public LearnableMove(LearnableMove source, boolean learnable)
  • Method Details

    • attack

      public ImmutableAttack attack()
    • costs

      public List<net.minecraft.world.item.ItemStack> costs()
    • learnable

      public boolean learnable()
    • encode

      public void encode(net.minecraft.network.FriendlyByteBuf buf)
    • decode

      public void decode(net.minecraft.network.FriendlyByteBuf buf)
    • readFromNBT

      public void readFromNBT(net.minecraft.nbt.CompoundTag compound)
    • writeToNBT

      public net.minecraft.nbt.CompoundTag writeToNBT(net.minecraft.nbt.CompoundTag compound)