Class LearnableMove
java.lang.Object
com.pixelmonmod.pixelmon.api.tutor.LearnableMove
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLearnableMove
(LearnableMove source, boolean learnable) LearnableMove
(ImmutableAttack attack, List<net.minecraft.world.item.ItemStack> costs, boolean learnable) LearnableMove
(String attackid, List<net.minecraft.world.item.ItemStack> costs, boolean learnable) -
Method Summary
Modifier and TypeMethodDescriptionattack()
List<net.minecraft.world.item.ItemStack>
costs()
void
decode
(net.minecraft.network.FriendlyByteBuf buf) void
encode
(net.minecraft.network.FriendlyByteBuf buf) boolean
void
readFromNBT
(net.minecraft.nbt.CompoundTag compound) net.minecraft.nbt.CompoundTag
writeToNBT
(net.minecraft.nbt.CompoundTag compound)
-
Field Details
-
CODEC
-
-
Constructor Details
-
LearnableMove
public LearnableMove() -
LearnableMove
-
LearnableMove
public LearnableMove(ImmutableAttack attack, List<net.minecraft.world.item.ItemStack> costs, boolean learnable) -
LearnableMove
-
-
Method Details
-
attack
-
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)
-