mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-07-04 11:43:55 +00:00
Add support for eclipse run configurations
This commit is contained in:
parent
36f1ddd285
commit
fe5f87df32
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -214,3 +214,16 @@ pip-log.txt
|
||||||
|
|
||||||
#Mr Developer
|
#Mr Developer
|
||||||
.mr.developer.cfg
|
.mr.developer.cfg
|
||||||
|
|
||||||
|
##########
|
||||||
|
## test
|
||||||
|
##########
|
||||||
|
|
||||||
|
#everything but the plugin, spigot, and a pre-accepted eula
|
||||||
|
test/server/crash-reports/
|
||||||
|
test/server/logs/
|
||||||
|
test/server/world*/
|
||||||
|
test/server/*.json
|
||||||
|
test/server/*.yml
|
||||||
|
test/server/*.properties
|
||||||
|
test/server/plugins/*/
|
7
extras/ant/build.xml
Normal file
7
extras/ant/build.xml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!-- Configuration of the Ant build system to generate a Jar file -->
|
||||||
|
<project name="ProjectKorra" default="CreateJar">
|
||||||
|
<target name="CreateJar" description="Create Jar file">
|
||||||
|
<jar jarfile="../../test/server/plugins/ProjectKorra.jar" basedir="../../bin/" includes="**/*" />
|
||||||
|
</target>
|
||||||
|
</project>
|
|
@ -5,7 +5,6 @@ import com.projectkorra.projectkorra.GeneralMethods;
|
||||||
import com.projectkorra.projectkorra.ProjectKorra;
|
import com.projectkorra.projectkorra.ProjectKorra;
|
||||||
import com.projectkorra.projectkorra.airbending.AirCombo;
|
import com.projectkorra.projectkorra.airbending.AirCombo;
|
||||||
import com.projectkorra.projectkorra.chiblocking.ChiCombo;
|
import com.projectkorra.projectkorra.chiblocking.ChiCombo;
|
||||||
import com.projectkorra.projectkorra.earthbending.EarthCombo;
|
|
||||||
import com.projectkorra.projectkorra.firebending.FireCombo;
|
import com.projectkorra.projectkorra.firebending.FireCombo;
|
||||||
import com.projectkorra.projectkorra.util.ClickType;
|
import com.projectkorra.projectkorra.util.ClickType;
|
||||||
import com.projectkorra.projectkorra.waterbending.WaterCombo;
|
import com.projectkorra.projectkorra.waterbending.WaterCombo;
|
||||||
|
@ -160,13 +159,6 @@ public class ComboManager {
|
||||||
comboAbilityList.add(new ComboAbility("Immobilize", immobilize, ChiCombo.class));
|
comboAbilityList.add(new ComboAbility("Immobilize", immobilize, ChiCombo.class));
|
||||||
descriptions.put("Immobilize", "Immobilizes the opponent for several seconds.");
|
descriptions.put("Immobilize", "Immobilizes the opponent for several seconds.");
|
||||||
instructions.put("Immobilize", "QuickStrike (Left Click) > SwiftKick (Left Click) > QuickStrike (Left Click) > QuickStrike (Left Click)");
|
instructions.put("Immobilize", "QuickStrike (Left Click) > SwiftKick (Left Click) > QuickStrike (Left Click) > QuickStrike (Left Click)");
|
||||||
|
|
||||||
ArrayList<AbilityInformation> earthBurrow = new ArrayList<AbilityInformation>();
|
|
||||||
earthBurrow.add(new AbilityInformation("EarthTunnel", ClickType.LEFT_CLICK));
|
|
||||||
earthBurrow.add(new AbilityInformation("Collapse", ClickType.SHIFT_DOWN));
|
|
||||||
comboAbilityList.add(new ComboAbility("EarthBurrow", earthBurrow, EarthCombo.class));
|
|
||||||
descriptions.put("EarthBurrow", "Sink into the ground to avoid attacks and confuse foes.");
|
|
||||||
instructions.put("EarthBurrow", "EarthTunnel (Left Click) > Collapse (Shift)");
|
|
||||||
|
|
||||||
startCleanupTask();
|
startCleanupTask();
|
||||||
}
|
}
|
||||||
|
@ -193,8 +185,6 @@ public class ComboManager {
|
||||||
new WaterCombo(player, comboAbil.getName());
|
new WaterCombo(player, comboAbil.getName());
|
||||||
else if (comboAbil.getComboType().equals(ChiCombo.class))
|
else if (comboAbil.getComboType().equals(ChiCombo.class))
|
||||||
new ChiCombo(player, comboAbil.getName());
|
new ChiCombo(player, comboAbil.getName());
|
||||||
else if (comboAbil.getComboType().equals(EarthCombo.class))
|
|
||||||
new EarthCombo(player, comboAbil.getName());
|
|
||||||
else {
|
else {
|
||||||
for (ComboAbility ca : comboAbilityList) {
|
for (ComboAbility ca : comboAbilityList) {
|
||||||
if (comboAbil.getName().equals(ca.getName())) {
|
if (comboAbil.getName().equals(ca.getName())) {
|
||||||
|
|
3
test/server/eula.txt
Normal file
3
test/server/eula.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
|
||||||
|
#Fri Aug 28 18:06:15 EDT 2015
|
||||||
|
eula=true
|
BIN
test/server/plugins/ProjectKorra.jar
Normal file
BIN
test/server/plugins/ProjectKorra.jar
Normal file
Binary file not shown.
BIN
test/server/spigot-1.8.8.jar
Normal file
BIN
test/server/spigot-1.8.8.jar
Normal file
Binary file not shown.
Loading…
Reference in a new issue