Start again with forge

This commit is contained in:
Dan Buch 2015-07-24 20:53:28 -04:00
parent bd1abd8734
commit 151cc26f58
9 changed files with 19 additions and 132 deletions

1
mods/.gitignore vendored
View File

@ -1 +0,0 @@
.metadata/

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -1,2 +0,0 @@
target/
.settings/

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>LinksAdventure</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

View File

@ -1,21 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.meatballhat</groupId>
<artifactId>LinksAdventure</artifactId>
<version>0.1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.7.9-R0.1</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -1,40 +0,0 @@
package com.meatballhat.linksadventure;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public final class LinksAdventure extends JavaPlugin {
@Override
public void onEnable() {
getLogger().info("WELCOME TO LINK'S ADVENTURE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
}
@Override
public void onDisable() {
getLogger().info("onDisable has been invoked!");
}
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (!cmd.getName().equalsIgnoreCase("ignite")) {
return false;
}
if (args.length != 1) {
return false;
}
Player target = Bukkit.getServer().getPlayer(args[0]);
if (target == null) {
sender.sendMessage(args[0] + " is not currently online.");
return true;
}
target.setFireTicks(10000);
return true;
}
}

View File

@ -1,9 +0,0 @@
name: "LinksAdventure"
main: "com.meatballhat.linksadventure.LinksAdventure"
version: "0.1.0-SNAPSHOT"
commands:
ignite:
description: Ignite a player
usage: "/ignite <player>"
permission: LinksAdventure.basic
permission-message: You may not ignite

14
mods/forge/.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
.metadata/
CREDITS-fml.txt
LICENSE-fml.txt
MinecraftForge-Credits.txt
MinecraftForge-License.txt
README.txt
build.gradle
eclipse
forge-1.8-11.14.3.1498-changelog.txt
forge-1.8-11.14.3.1498-src.zip
gradle
gradlew
gradlew.bat
src

5
mods/forge/Makefile Normal file
View File

@ -0,0 +1,5 @@
forge-1.8-11.14.3.1498-changelog.txt: forge-1.8-11.14.3.1498-src.zip
unzip $<
forge-1.8-11.14.3.1498-src.zip:
curl -sSLO http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1498/forge-1.8-11.14.3.1498-src.zip