This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from McMoonLakeDev/v1.9-alpha
v1.9 a1
- Loading branch information
Showing
56 changed files
with
4,996 additions
and
413 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
################################ | ||
# MoonLake Core API Plugin # | ||
# By Month_Light Ver: 1.8-final # | ||
# By Month_Light Ver: 1.9-a1 # | ||
################################ | ||
|
||
# 插件版本号: 此项请勿修改! | ||
version: '1.8-final' | ||
version: '1.9-a1' | ||
|
||
# 数据包通道监听器 | ||
# 此项可设置是否开启这个功能 | ||
# 如果关闭则插件中的一些API功能将无法使用 | ||
# 例如: MoonLakePlayerJoinEvent | ||
# PS: 此项是实时监听客户端与服务端的数据包交流 | ||
PacketChannelListener: false | ||
PacketChannelListener: true |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: MoonLake | ||
main: com.minecraft.moonlake.MoonLakePlugin | ||
version: 1.8-final | ||
version: 1.9-a1 | ||
prefix: MoonLake | ||
description: Minecraft MoonLake Core API Plugin | ||
website: http://www.mcyszh.com/ | ||
author: Month_Light | ||
authors: [Month_Light, MoonLake] | ||
softdepend: [MoonLakeEconomy, PermissionsEx, Vault] | ||
softdepend: [MoonLakeEconomy, PermissionsEx, Vault, WorldEdit] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* Copyright (C) 2017 The MoonLake Authors | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
|
||
package com.minecraft.moonlake.api; | ||
|
||
import com.minecraft.moonlake.api.player.depend.WorldEditVector; | ||
import com.minecraft.moonlake.api.region.RegionBlockVector; | ||
import com.minecraft.moonlake.api.region.RegionVector; | ||
import org.bukkit.util.Vector; | ||
|
||
/** | ||
* <h1>VectorConvertible</h1> | ||
* 矢量可转换接口(详细doc待补充...) | ||
* | ||
* @version 1.0 | ||
* @author Month_Light | ||
*/ | ||
public interface VectorConvertible { | ||
|
||
/** | ||
* 转换为 Bukkit 的矢量对象 | ||
* | ||
* @return Vector | ||
*/ | ||
Vector asBukkitVector(); | ||
|
||
/** | ||
* 转换为 WorldEdit 的矢量对象 | ||
* | ||
* @return WorldEditVector | ||
*/ | ||
WorldEditVector asWorldEditVector(); | ||
|
||
/** | ||
* 转换为区域矢量对象 | ||
* | ||
* @return RegionVector | ||
*/ | ||
RegionVector asRegionVector(); | ||
|
||
/** | ||
* 转换为区域方块矢量对象 | ||
* | ||
* @return RegionBlockVector | ||
*/ | ||
RegionBlockVector asRegionBlockVector(); | ||
} |
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
Oops, something went wrong.