Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit 9aa2130

Browse files
committed
Cleanup of the project (keep only the neceserry stuff).
1 parent 09272e0 commit 9aa2130

File tree

11 files changed

+4
-1234
lines changed

11 files changed

+4
-1234
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
*.iws
1111
*.jar
1212
.idea/
13-
/build/
13+
/build/
14+
/dist/

src/com/sk89q/worldedit/EditSessionStub.java

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,8 @@
11
package org.primesoft.asyncworldedit.blockPlacer;
22

3-
import org.primesoft.asyncworldedit.api.blockPlacer.IBlockPlacer;
4-
53
/**
64
* Stub for the API to compile
75
* @author SBPrime
86
*/
97
public abstract class BlockPlacerEntry {
10-
/**
11-
* Is this task demanding, only one demanding task is allowed
12-
* @return
13-
*/
14-
public boolean isDemanding() {
15-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
16-
}
17-
18-
/**
19-
* The job ID
20-
* @return
21-
*/
22-
public int getJobId(){
23-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
24-
}
25-
26-
27-
/**
28-
* New instance of block placer entry
29-
* @param jobId THe job id
30-
* @param isDemanding
31-
*/
32-
public BlockPlacerEntry(int jobId, boolean isDemanding) {
33-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
34-
}
35-
36-
37-
/**
38-
* process the entry
39-
* @param bp
40-
* @return true if operation was successful
41-
*/
42-
public abstract boolean process(IBlockPlacer bp);
438
}
Lines changed: 0 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -1,171 +1,10 @@
11
package org.primesoft.asyncworldedit.blockPlacer;
22

3-
import org.primesoft.asyncworldedit.blockPlacer.entries.JobEntry;
4-
import java.util.Collection;
5-
import java.util.List;
6-
import java.util.Queue;
7-
import org.primesoft.asyncworldedit.playerManager.PlayerEntry;
8-
93
/**
104
* Stub for the API to compile
115
* Operation queue player entry
126
*
137
* @author SBPrime
148
*/
159
public class BlockPlacerPlayer {
16-
/**
17-
* Create new player entry
18-
* @param player
19-
*/
20-
public BlockPlacerPlayer(PlayerEntry player) {
21-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
22-
}
23-
24-
/**
25-
* Maximum number of blocks on queue
26-
*
27-
* @return
28-
*/
29-
public int getMaxQueueBlocks() {
30-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
31-
}
32-
33-
/**
34-
* Set the maximum number of blocks on queue
35-
* @param val
36-
*/
37-
public void setMaxQueueBlocks(int val) {
38-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
39-
}
40-
41-
/**
42-
* Get block entries queue
43-
*
44-
* @return
45-
*/
46-
public Queue<BlockPlacerEntry> getQueue() {
47-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
48-
}
49-
50-
/**
51-
* Change current queue to new queue
52-
*
53-
* @param newQueue
54-
*/
55-
public void updateQueue(Queue<BlockPlacerEntry> newQueue) {
56-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
57-
}
58-
59-
/**
60-
* Get block placing speed (blocks per second)
61-
*
62-
* @return
63-
*/
64-
public double getSpeed() {
65-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
66-
}
67-
68-
/**
69-
* Update block placing speed
70-
*
71-
* @param blocks number of blocks
72-
* @param timeDelta time spend
73-
*/
74-
public void updateSpeed(double blocks, long timeDelta) {
75-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
76-
}
77-
78-
/**
79-
* Get next job id
80-
*
81-
* @return
82-
*/
83-
public int getNextJobId() {
84-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
85-
}
86-
87-
/**
88-
* Add new job
89-
*
90-
* @param job
91-
* @param force
92-
* @return
93-
*/
94-
public boolean addJob(JobEntry job, boolean force) {
95-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
96-
}
97-
98-
/**
99-
* Remove job
100-
*
101-
* @param job
102-
*/
103-
public void removeJob(JobEntry job) {
104-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
105-
106-
}
107-
108-
/**
109-
* Remove job
110-
*
111-
* @param jobId
112-
*/
113-
public void removeJob(int jobId) {
114-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
115-
}
116-
117-
/**
118-
* Get all jobs
119-
*
120-
* @return
121-
*/
122-
public Collection<JobEntry> getJobs() {
123-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
124-
}
125-
126-
/**
127-
* Print jobs message
128-
*
129-
* @param lines
130-
*/
131-
public void printJobs(List<String> lines) {
132-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
133-
}
134-
135-
/**
136-
* Has any job entries
137-
*
138-
* @return
139-
*/
140-
public boolean hasJobs() {
141-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
142-
}
143-
144-
/**
145-
* Get job ID
146-
*
147-
* @param jobId job ID
148-
* @return
149-
*/
150-
public JobEntry getJob(int jobId) {
151-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
152-
}
153-
154-
/**
155-
* Is the player informed about queue overload
156-
*
157-
* @return
158-
*/
159-
public boolean isInformed() {
160-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
161-
}
162-
163-
/**
164-
* Set isInformed state
165-
*
166-
* @param state
167-
*/
168-
public void setInformed(boolean state) {
169-
throw new UnsupportedOperationException("Not supported yet. This is only a STUB");
170-
}
17110
}

0 commit comments

Comments
 (0)