Package vazkii.botania.api.corporea
Interface CorporeaRequest
- All Known Implementing Classes:
CorporeaRequestImpl
public interface CorporeaRequest
-
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.world.entity.LivingEntityintintgetFound()intvoidtrackExtracted(int count) voidtrackFound(int count) voidtrackSatisfied(int count) Inform the request thatcountitems have been satisfied, updating the result ofgetStillNeeded().
-
Method Details
-
getEntity
@Nullable @Nullable net.minecraft.world.entity.LivingEntity getEntity()- Returns:
- The entity that initiated this requestr, if available.
-
getMatcher
CorporeaRequestMatcher getMatcher() -
getStillNeeded
int getStillNeeded()- Returns:
- The amount still wanted by the request, -1 if the request wants everything matched by
getMatcher().
-
getFound
int getFound() -
getExtracted
int getExtracted() -
trackSatisfied
void trackSatisfied(int count) Inform the request thatcountitems have been satisfied, updating the result ofgetStillNeeded(). -
trackFound
void trackFound(int count) -
trackExtracted
void trackExtracted(int count)
-