开源软件名称(OpenSource Name): tgraupmann/MinecraftChromaMod开源软件地址(OpenSource Url): https://github.com/tgraupmann/MinecraftChromaMod开源编程语言(OpenSource Language):
Java
99.7%
开源软件介绍(OpenSource Introduction): Minecraft Chroma Mod
This Mod is built with MinecraftForge and displays Chroma RGB
effects for various game events.
JChromaSDK.java exposes the C++ CChromaEditor
library functions for Java
.
JChromaSDK
is able to play Razer Chroma animations from the Project Resources .
Table of Contents
See Also
Docs:
Mods:
Editors:
Quick Start
Visit the Releases Section to run the installers.
Use the Minecraft Forge Universal Installer for client and server
Use the mod installer that matches the Minecraft Forge version
To run a local Minecraft server modify the %APPDATA%\.minecraft\eula.txt
to accept.
To run Minecraft as a dedicated server and use Chroma on the clients, install the server mod on the server.
The client mod with Chroma will be allowed because the modid
matches on server and client.
To run a dedicated server, run the following in the command-prompt
.
CD %appdata%\.minecraft
CALL java -Xmx4096M -jar libraries\net\minecraft\server\1.17.1\server-1.17.1.jar nogui
Or put a batch file in your .minecraft
folder to start the server.
run_minecraft_server.cmd
CALL java -Xmx4096M -jar libraries\net\minecraft\server\1.17.1\server-1.17.1.jar nogui
The server will not be able to run the client mod. So you'll want to uninstall the client mod on the server and install the server mod on the server.
Connect to Minecraft dedicated servers using port: 25565
.
Chroma Effects
Base Effect
Main Menu Effect
In Water Effect
Place Block Effect
Craft Item Effect
Player Damage Effect
Fire Arrow Effect
Kill Pig Effect
Kill Chicken Effect
Open Chest Effect
Open Door Effect
Close Door Effect
Sword Attack Effect
Spawn Fish Effect
Potion Effect
Raining Effect
Snowing Effect
Ladder Effect
Riding Cart Effect
Videos
Setup Video
Intro Video
More Chroma Effects
Weather
Setup and Build
This section is only needed to build a new mod installer or to make changes to the mod.
The installer can set the JAVA_HOME for you.
Set the JAVA_HOME
environment variable to the path of the 64-bit version of the JDK. Gradle will report out of memory with the 32-bit JDK version which can be fixed in the gradle.properties
file if you have to.
The path will vary depending on the JAVA version that you install.
JAVA_HOME
C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\
Above: Install the Server and Client
Get the mod
Download the Minecraft Forge MDK
Extract the MDK to a folder like:
C:\Public\forge-1.17.1-37.0.108-mdk
Make sure the path isn't too long to avoid compile errors.
Check that the MDK can build and run
Use Start->Run, enter cmd
, and press OK
.
cmd
CD to the extracted folder Ie.
CD "C:\Public\forge-1.17.1-37.0.108-mdk"
Generate Eclipse Project
Start the mod (on the command-line)
Manually Merge Changes
With a properly setup developer environment that can compile MCF mods, now we need to make sure the Chroma Mod has the latest updates.
Compare the MDK
changes with the MinecraftChromaMod
Unfortunately, every minor .x release will have class name and package namespace changes that need manually merged.
With all the changes merged, you can continue to build the Chroma mod.
Now repeat the steps to run the Chroma MOD sample
cmd
CD to the checkout folder Ie.
CD "C:\Public\MinecraftChromaMod"
Generate Eclipse Project
Launch Eclipse
Use the File->Import
menu item
Select Gradle\Existing Gradle Project
and click Next
Browse to the MinecraftChromaMod
folder and click Finish
If the import is successful, the project shouldn't have any compile errors.
Use the Run
toolbar drop down
Select Run Configurations...
Start the mod (from Eclipse)
Select the Java Application
-> runClient
and click Run
Start the mod (on the command-line)
Build the build\libs\modid-1.0.jar
Build the installer with InnoSetup
Support
Support is available on Discord, you can reach me at Tim Graupmann#0611
.
请发表评论