-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,327 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
src/org/primesoft/asyncworldedit/api/events/IBlockRenderCountEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* AsyncWorldEdit API | ||
* Copyright (c) 2017, SBPrime <https://github.com/SBPrime/> | ||
* Copyright (c) AsyncWorldEdit API contributors | ||
* | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted free of charge provided that the following | ||
* conditions are met: | ||
* | ||
* 1. Redistributions of source code must retain the above copyright notice, this | ||
* list of conditions and the following disclaimer. | ||
* 2. Redistributions in binary form must reproduce the above copyright notice, | ||
* this list of conditions and the following disclaimer in the documentation | ||
* and/or other materials provided with the distribution, | ||
* 3. Redistributions of source code, with or without modification, in any form | ||
* other then free of charge is not allowed, | ||
* 4. Redistributions in binary form in any form other then free of charge is | ||
* not allowed. | ||
* 5. Any derived work based on or containing parts of this software must reproduce | ||
* the above copyright notice, this list of conditions and the following | ||
* disclaimer in the documentation and/or other materials provided with the | ||
* derived work. | ||
* 6. The original author of the software is allowed to change the license | ||
* terms or the entire license of the software as he sees fit. | ||
* 7. The original author of the software is allowed to sublicense the software | ||
* or its parts using any license terms he sees fit. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
package org.primesoft.asyncworldedit.api.events; | ||
|
||
/** | ||
* This event is called when block render count is changed | ||
* @author SBPrime | ||
*/ | ||
public interface IBlockRenderCountEvent extends IPlayerEvent { | ||
Integer getOld(); | ||
Integer getNew(); | ||
} |
51 changes: 51 additions & 0 deletions
51
src/org/primesoft/asyncworldedit/api/events/IEditSessionLimitChanged.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* AsyncWorldEdit API | ||
* Copyright (c) 2017, SBPrime <https://github.com/SBPrime/> | ||
* Copyright (c) AsyncWorldEdit API contributors | ||
* | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted free of charge provided that the following | ||
* conditions are met: | ||
* | ||
* 1. Redistributions of source code must retain the above copyright notice, this | ||
* list of conditions and the following disclaimer. | ||
* 2. Redistributions in binary form must reproduce the above copyright notice, | ||
* this list of conditions and the following disclaimer in the documentation | ||
* and/or other materials provided with the distribution, | ||
* 3. Redistributions of source code, with or without modification, in any form | ||
* other then free of charge is not allowed, | ||
* 4. Redistributions in binary form in any form other then free of charge is | ||
* not allowed. | ||
* 5. Any derived work based on or containing parts of this software must reproduce | ||
* the above copyright notice, this list of conditions and the following | ||
* disclaimer in the documentation and/or other materials provided with the | ||
* derived work. | ||
* 6. The original author of the software is allowed to change the license | ||
* terms or the entire license of the software as he sees fit. | ||
* 7. The original author of the software is allowed to sublicense the software | ||
* or its parts using any license terms he sees fit. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
package org.primesoft.asyncworldedit.api.events; | ||
|
||
import com.sk89q.worldedit.EditSession; | ||
|
||
/** | ||
* This event is invoked when setBlockCHangeLimit is called on an EditSession | ||
* @author SBPrime | ||
*/ | ||
public interface IEditSessionLimitChanged { | ||
EditSession getEditSession(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* AsyncWorldEdit API | ||
* Copyright (c) 2017, SBPrime <https://github.com/SBPrime/> | ||
* Copyright (c) AsyncWorldEdit API contributors | ||
* | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted free of charge provided that the following | ||
* conditions are met: | ||
* | ||
* 1. Redistributions of source code must retain the above copyright notice, this | ||
* list of conditions and the following disclaimer. | ||
* 2. Redistributions in binary form must reproduce the above copyright notice, | ||
* this list of conditions and the following disclaimer in the documentation | ||
* and/or other materials provided with the distribution, | ||
* 3. Redistributions of source code, with or without modification, in any form | ||
* other then free of charge is not allowed, | ||
* 4. Redistributions in binary form in any form other then free of charge is | ||
* not allowed. | ||
* 5. Any derived work based on or containing parts of this software must reproduce | ||
* the above copyright notice, this list of conditions and the following | ||
* disclaimer in the documentation and/or other materials provided with the | ||
* derived work. | ||
* 6. The original author of the software is allowed to change the license | ||
* terms or the entire license of the software as he sees fit. | ||
* 7. The original author of the software is allowed to sublicense the software | ||
* or its parts using any license terms he sees fit. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
package org.primesoft.asyncworldedit.api.events; | ||
|
||
/** | ||
* Base event to handle them all | ||
* @author SBPrime | ||
*/ | ||
public interface IEvent { | ||
|
||
} |
Oops, something went wrong.