A forge minecraft mod.
This mod has 3 main categories:
- Vampires
- Werewolves
- 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.
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.
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.
- Download GIT
- Install GIT
- Open Git Bash: Right-click in an empty Explorer window and chose
git bash here
- Set your
global Username
: git config --global user.name "FIRST_NAME LAST_NAME" - Set your
global Email
: git config --global user.email "MY_NAME@example.com"
(NOTE: You want this to match your github email)
- Download 64 bit Java JDK 8
- Run the downloaded installer and except defaults.
- Download IntelliJ Idea Community Edition
- Install IntelliJ
- Open IntelliJ
- From the main Code Tab click on the
Clone or Download
button - Copy the URL
- Open a
Git Bash
window - Change directory to where you want:
cd c:\git\minecraft\
- Clone the repo:
git clone https://github.com/kaltinril/Vampiric.git
- Open IntelliJ
- Click Import Project
- Select your build.gradle file and click OK.
- Wait....
This section will build the Run Configuration settings for runClient, runServer, and
- Open a command prompt:
start menu > type: CMD > press enter
- Change directory to the project:
cd c:\path\to\cloned\repo\
- Create the run settings:
gradlew genIntellijRuns
- Use the command window from #6 above (This assumes you are in the repo project directory)
- Build and start client:
gradlew runClient
- Wait...
- Use the command window from #6 above (This assumes you are in the repo project directory)
- Build and start client:
gradlew runServer
- Wait...
- Open the build.gradle file
- Under
dependencies
, change theminecraft
line:minecraft 'net.minecraftforge:forge:1.15.2-31.0.16'
- Pick which latest build you want by going to the Forge Website
- After changing this value, IntelliJ will notice the change and ask you if you want to
Import Changes
. You do, click it. - You may need to fix code now if there was a substantial enough jump in version.
- Open the build.gradle file
- At the top Under
minecraft
, change themappings
line:mappings channel: 'snapshot', version: '20190719-1.14.3'
- Pick which latest mapping you want by going to the MCPBot Website
- After changing this value, IntelliJ will notice the change and ask you if you want to
Import Changes
. You do, click it. - 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.
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 |
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 |