Skip to content

kaltinril/Vampiric

Repository files navigation

[Vampiric]

A forge minecraft mod.

This mod has 3 main categories:

  1. Vampires
  2. Werewolves
  3. Mummies

Each category adds items specific to that EntityType. There are some items that are shared between all three.

For information on what items, blocks, and entities exist, please read the WIKI.

I. How to use this mod

Download the latest build from Curse Forge.

If you want the newest snapshot, you will need to follow the "How to edit or compile this mod" section instead.

Standard forge rules apply. Place the vampiric-0.1.jar file into your minecraft mods folder.

II. How to edit or compile this mod

This document is assuming a windows user. If you are a mac or linux user you will need to find the equivlant instructions for that OS. Additionally this is assuming you are using IntelliJ Idea. If you are using Eclipse or some other tool, you are on your own.

1. Install GIT

  1. Download GIT
  2. Install GIT
  3. Open Git Bash: Right-click in an empty Explorer window and chose git bash here
  4. Set your global Username: git config --global user.name "FIRST_NAME LAST_NAME"
  5. Set your global Email: git config --global user.email "MY_NAME@example.com"
    (NOTE: You want this to match your github email)

2. Install Java JDK 8 (1.8.* )

  1. Download 64 bit Java JDK 8
  2. Run the downloaded installer and except defaults.

3. Install IntelliJ Idea

  1. Download IntelliJ Idea Community Edition
  2. Install IntelliJ
  3. Open IntelliJ

4. Clone This Repository

  1. From the main Code Tab click on the Clone or Download button
  2. Copy the URL
  3. Open a Git Bash window
  4. Change directory to where you want: cd c:\git\minecraft\
  5. Clone the repo: git clone https://github.com/kaltinril/Vampiric.git

5. Import project using Gradle import in IntelliJ

  1. Open IntelliJ
  2. Click Import Project
  3. Select your build.gradle file and click OK.
  4. Wait....

6. Create Intellij runs

This section will build the Run Configuration settings for runClient, runServer, and

  1. Open a command prompt: start menu > type: CMD > press enter
  2. Change directory to the project: cd c:\path\to\cloned\repo\
  3. Create the run settings: gradlew genIntellijRuns

7. Run Client

  1. Use the command window from #6 above (This assumes you are in the repo project directory)
  2. Build and start client: gradlew runClient
  3. Wait...

8. Run Server

  1. Use the command window from #6 above (This assumes you are in the repo project directory)
  2. Build and start client: gradlew runServer
  3. Wait...

III. Updating Forge Version

  1. Open the build.gradle file
  2. Under dependencies, change the minecraft line: minecraft 'net.minecraftforge:forge:1.15.2-31.0.16'
    1. Pick which latest build you want by going to the Forge Website
  3. After changing this value, IntelliJ will notice the change and ask you if you want to Import Changes. You do, click it.
  4. You may need to fix code now if there was a substantial enough jump in version.

IV. Updateing MCP (Mappings) Version.

  1. Open the build.gradle file
  2. At the top Under minecraft, change the mappings line: mappings channel: 'snapshot', version: '20190719-1.14.3'
    1. Pick which latest mapping you want by going to the MCPBot Website
  3. After changing this value, IntelliJ will notice the change and ask you if you want to Import Changes. You do, click it.
  4. You may need to change Class, Method (Function), and Variable names after this update. Fix any errors by looking up the correct mappings for any items.

V. Errors and Resolutions:

Import Error

Item Info
Error Cannot determine classpath for resource 'java/sql/SQLException.class' from location 'jrt:/java.sql/java/sql/SQLException.class'.
The project uses Gradle 2.14 which is incompatible with IDEA running on Java 10 or newer.
See details at gradle/gradle#8431
Possible solution:
- Upgrade Gradle wrapper to 4.8.1 version and re-import the project
Description While importing the build.gradle or opening the project and clicking Import Changes this error appears.
Cause These instructions cover 1.15 and may not work for 1.14 or 1.12
Resolution Unknown, did not try to resolve

Gradle Build Errors

Item Info
Error ???
Description Any error during initial first gradle build
Cause Unknown specific error
Resolution Try resetting Gradle (which doesn't impact your code)
1. Remove all downloaded gradle information for this project: gradlew clean
2. Refresh all dependencies: gradlew --refresh-dependencies
3. Build the project: gradlew build
4. Test the client: gradlew runClient

About

Minecraft mod with vampire mobs and related items.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages