GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SpongePowered/SpongeVanilla: The SpongeAPI implementation for Vanilla Minecraft.

This repository was archived by the owner on Feb 27, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

1,379 Commits
1,379 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
SpongeCommon @ 465d98d
SpongeCommon @ 465d98d
 
 
client
client
 
 
gradle/wrapper
gradle/wrapper
 
 
scripts
scripts
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
Jenkinsfile
Jenkinsfile
 
 
LICENSE.txt
LICENSE.txt
 
 
NOTICE.md
NOTICE.md
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

SpongeVanilla Build Status

Moved

This repository is obsolete! Development on modern (1.16+) versions continues in the Sponge repository.


SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.

  • Homepage
  • Source
  • Issues
  • Documentation
  • Community Discord
  • Community IRC: #sponge on irc.esper.net
  • Development IRC: #spongedev on irc.esper.net
  • Preparing for Development

Prerequisites

  • Java 8

Cloning

The following steps will ensure your project is cloned properly.

  1. git clone --recursive https://github.com/SpongePowered/SpongeVanilla.git
  2. cd SpongeVanilla
  3. cp scripts/pre-commit .git/hooks

Note: If you accidentally omit --recursive option when cloning, you may delete the repository and try again, or you may execute the following to fix the situation:

git submodule update --init --recursive

Setup

Note: SpongeVanilla uses Gradle as its build system. The repo includes the Gradle wrapper that will automatically download the correct Gradle version. Local installations of Gradle may work but are untested. To execute the Gradle wrapper, run the ./gradlew script on Unix systems or only gradlew on Windows systems.

Before you are able to build SpongeVanilla, you must first prepare the environment:

  • Run ./gradlew setupDecompWorkspace --refresh-dependencies

IDE Setup

For Eclipse

  1. Run ./gradlew eclipse
  2. Import SpongeVanilla as an existing project (File > Import > General)
  3. Select the root folder for SpongeVanilla and make sure Search for nested projects is enabled
  4. Check SpongeVanilla when it finishes building and click Finish

For IntelliJ

  1. Make sure you have the Gradle plugin enabled (File > Settings > Plugins. For macOS users: IntelliJ IDEA > Preferences > Plugins).
  2. Click File > New > Project from Existing Sources > Gradle and select the root folder for SpongeVanilla.
  3. Make sure Use default gradle wrapper is selected. Older/newer Gradle versions may work but we only test using the wrapper.

Running

Note: The following is aimed to help you setup run configurations for Eclipse and IntelliJ, if you do not want to be able to run SpongeVanilla directly from your IDE then you can skip this.

For Eclipse

  1. Running ./gradlew eclipse should have generated the run configurations automatically.
  2. When launching the server for the first time, it will shutdown by itself. You will need to modify eula.txt to set eula=true (this means you agree to the Mojang EULA, if you do not wish to do this then you cannot run the server).

For IntelliJ

  1. Run ./gradlew genIntelliJRuns
  2. Restart IntelliJ IDEA or reload the project, the run configuration should now be generated.
  3. When launching the server for the first time, it will shutdown by itself. You will need to modify eula.txt to set eula=true (this means you agree to the Mojang EULA, if you do not wish to do this then you cannot run the server).

Building

Note: You must setup the environment before you can build SpongeVanilla.

In order to build SpongeVanilla you simply need to run the gradlew command. On Windows systems you should run gradlew instead of ./gradlew to invoke the Gradle wrapper. You can find the compiled JAR files in ./build/libs. You can find the compiled JAR files in ./build/libs but in most cases you'll only need 'spongevanilla-x.x.x-x.x-x.jar'.

Updating your Clone

The following steps will update your clone with the official repo.

  1. git pull
  2. git submodule update --recursive
  3. ./gradlew setupDecompWorkspace --refresh-dependencies

FAQ

A dependency was added, but my IDE is missing it! How do I add it?

If a new dependency was added, you can just restart your IDE and the Gradle plugin for that IDE should pull in the new dependencies.

Contributing

Are you a talented programmer looking to contribute some code? We'd love the help!

  • Open a pull request with your changes, following our guidelines.
  • Please follow the above guidelines for your pull request(s) to be accepted.

Help! Things are not working!

Some issues can be resolved by deleting the '.gradle' folder in your user directory and running through the setup steps again, or even running gradle cleanCache and running through the setup again. Otherwise if you are having trouble with something that the README does not cover, feel free to join our IRC channel and ask for assistance.

About

The SpongeAPI implementation for Vanilla Minecraft.

www.spongepowered.org/

Topics

gradlejavaminecraftmixin-frameworkspongespongeapispongepoweredspongevanilla

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

249 stars

Watchers

12 watching

Forks

75 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.