Skip to content

Pronink/realistic-minecart-wind-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Realistic minecart wind effect

A straightforward plugin that introduces realistic stereo wind sound effects as you journey in a minecart.

Listen to it with headphones or on a stereo system and feel the sound of the wind as you pass by the blocks to the right and left:

Youtube video

Youtube link

Spigot plugin resource

Compile plugin project 🚀

  • Install Git, Java 17 and Maven
  • Clone this repository
  • If you are using IntelliJ Idea:
    • Open the repository folder as project
    • At right, open Maven
      • Click Download sources and documentation to download spigot API and their dependencies (this phase could have been executed automatically by IntelliJ the first time you open the project)
      • Expand Lifecycle and click package to compile the plugin
  • If you are using the terminal (not fully tested)
    • Run one terminal inside repository folder
    • Run mvn dependency:resolve to download spigot API and their dependencies
    • Run mvn package to compile de plugin
  • To change the plugin output jar when you compile it, simply uncomment and set <outputDirectory>../devServer/plugins</outputDirectory> in pom.xml but NEVER commit it to git

Set up server 🌍

  • Create a new folder
  • Download and put BuildTools.jar inside that folder
  • Run java -jar BuildTools.jar
  • Run java -jar spigot-1.1x.x.jar where xx is the minecraft server version
    • Set eula.txt text to true and re-run previous command if needed
  • Optional
    • Go to the previous created plugin project and set in pom.xml the route to plugins folder into <outputDirectory>../devServer/plugins</outputDirectory>

Debug plugin and server 🧑‍💻

We need to open a debug port to debug the server, and then listen it from IntelliJ.

In IntelliJ:

  • Right to hammer button, click Edit configurations
  • Add Remote JVM Debug and full copy the agentlib command line parameter

In the server launcher script:

  • Add the copied param to java command:
    • RESULT: java -jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 spigot-1.xx.jar --nogui
  • Start the minecraft server with the above script

In IntelliJ:

  • Press the bug button 🪲 to listen to server
  • Then you can set debug points in your plugin code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages