Package com.minecolonies.api.quests
Interface IObjectiveInstance
- All Superinterfaces:
net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
public interface IObjectiveInstance
extends net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
Objective data type to take track of activities.
-
Method Summary
Modifier and TypeMethodDescriptionintGet the missing quantity.booleanCheck if the objective has been fulfilled.Methods inherited from interface net.minecraftforge.common.util.INBTSerializable
deserializeNBT, serializeNBT
-
Method Details
-
isFulfilled
boolean isFulfilled()Check if the objective has been fulfilled.- Returns:
- true if so.
-
getMissingQuantity
int getMissingQuantity()Get the missing quantity.- Returns:
- the quantity.
-