Class AbstractClaimProcessor
java.lang.Object
org.kingdoms.abstraction.KingdomsProcessor
org.kingdoms.managers.land.claiming.AbstractClaimProcessor
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ClaimProcessor,UnclaimProcessor
public abstract class AbstractClaimProcessor
extends org.kingdoms.abstraction.KingdomsProcessor
implements Cloneable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected SimpleChunkLocationprotected Kingdomprotected KingdomPlayerprotected doubleprotected longFields inherited from class org.kingdoms.abstraction.KingdomsProcessor
contextHolder, issue -
Constructor Summary
ConstructorsConstructorDescriptionAbstractClaimProcessor(SimpleChunkLocation chunk, KingdomPlayer kp, Kingdom kingdom) -
Method Summary
Modifier and TypeMethodDescriptionvoidasAuto()abstract Messengerabstract AbstractClaimProcessorclone()voidUsed for costs and stuff like that.getChunk()getLand()doublegetMoney()long@Nullable AbstractClaimProcessor.ChunkHandlingprotected abstract Messengerabstract AbstractClaimProcessorprocess()abstract Messengerabstract AbstractClaimProcessorvoidvoidsetChunk(SimpleChunkLocation chunk) specialHandling(Map<SimpleChunkLocation, AbstractClaimProcessor.ChunkHandling> specialChunks) Methods inherited from class org.kingdoms.abstraction.KingdomsProcessor
finalizeProcess, getContextHolder, getIssue, isSuccessful, sendIssue, var
-
Field Details
-
specialChunks
-
chunk
-
kp
-
kingdom
-
auto
protected boolean auto -
rp
protected long rp -
money
protected double money
-
-
Constructor Details
-
AbstractClaimProcessor
-
-
Method Details
-
clone
-
getSpecialHandling
-
specialHandling
public AbstractClaimProcessor specialHandling(Map<SimpleChunkLocation, AbstractClaimProcessor.ChunkHandling> specialChunks) -
getSpecialChunks
-
asAuto
public void asAuto() -
recompile
- Specified by:
recompilein classorg.kingdoms.abstraction.KingdomsProcessor
-
initialChecks
-
processIssue
- Specified by:
processIssuein classorg.kingdoms.abstraction.KingdomsProcessor
-
process
- Overrides:
processin classorg.kingdoms.abstraction.KingdomsProcessor
-
checkWorldAndPermission
-
finalizeRequest
public void finalizeRequest()Used for costs and stuff like that. -
getResourcePoints
public long getResourcePoints() -
getMoney
public double getMoney() -
getKingdom
-
getChunk
-
getLand
-
setChunk
-
setChunk
-