Welp if you say it is the ones in the popular EggWars or BedWars minigame then I can do it. But I need some more detailed information so I can give it a shot.
Edit: Oh did you say 1.7.10? I haven't developed on that version before but maybe I just need to re-learn the differences. Anyway, tell me about it.
Create in the main class a void method which takes an FMLInitializationEvent as the argument with the annotation @EventHandler. Put the register thing in that method.
This is actually pretty fun to make! I might try this.
---------
Current work status: I have implemented it as an enchantment for the bow which is named "Ender Flight". Right now the enchantment is just a Prototype and has so many bugs, but you can tell me if you want to see it.
So I am making a mod that can play note block songs on Forge 1.8.9 client, and when the note block songs are played, they will cause ConcurrentModificationException:
[13:26:23] [Client thread/FATAL]: Unreported exception thrown!
java.util.ConcurrentModificationException
at com.google.common.collect.HashBiMap$Itr.checkForConcurrentModification(HashBiMap.java:339) ~[guava-17.0.jar:?]
at com.google.common.collect.HashBiMap$Itr.hasNext(HashBiMap.java:345) ~[guava-17.0.jar:?]
at net.minecraft.client.audio.SoundManager.updateAllSounds(SoundManager.java:243) ~[SoundManager.class:?]
at net.minecraft.client.audio.SoundHandler.update(SoundHandler.java:235) ~[SoundHandler.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2187) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:380) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
I tried EntityPlayerSP#playSound, SoundHandler#playSound but they both produced the above error.
It doesn't make disks to record, but saves the songs into .nbs files to be opened in Note Block Studio (http://stuffbydavid.com/mcnbs) or somewhere else.
I'm going to port this to 1.12 after fixing some bugs...
0
I thiiiinnnk this is... a little bit... overpowered.
1
Take a look at the CubicChunks mod. It basically removes both the floor and the ceiling of the world... And that means, Sky and Void Far Lands!
0
Uh, I have a question. Why here you specified 1.8, but in the Requesting for Modders you specified 1.12.1?
0
Welp if you say it is the ones in the popular EggWars or BedWars minigame then I can do it. But I need some more detailed information so I can give it a shot.
Edit: Oh did you say 1.7.10? I haven't developed on that version before but maybe I just need to re-learn the differences. Anyway, tell me about it.
0
Which type of the minigame are you looking for? (I need to know if I could do it or not...)
0
We can just put the OptiFine file into the mods folder after installing Forge though.
0
Give the complete file and I may figure it out for you...
0
The Minecraft version which is required for the build is missing from the build.gradle.
Example:
", monospace">minecraft {
", monospace"> version = "1.8.9-11.15.1.2318-1.8.9"
", monospace"> runDir = "run"
", monospace"> mappings = "stable_20"
", monospace">}
1
Save the Reference file, then the problem may be solved...
The C shape is not an error, it indicates that it is a class...
0
Create in the main class a void method which takes an FMLInitializationEvent as the argument with the annotation @EventHandler. Put the register thing in that method.
0
I need a little more detail to make this. Is the "block location" the location the player is standing on or the block the player is looking at?
0
This is actually pretty fun to make! I might try this.
---------
Current work status: I have implemented it as an enchantment for the bow which is named "Ender Flight". Right now the enchantment is just a Prototype and has so many bugs, but you can tell me if you want to see it.
0
So shouldn't you mark this as resolved?
0
So I am making a mod that can play note block songs on Forge 1.8.9 client, and when the note block songs are played, they will cause ConcurrentModificationException:
I tried EntityPlayerSP#playSound, SoundHandler#playSound but they both produced the above error.
I'm so confused right now and need help...
Thanks.
EDIT: This also occurs on 1.12.2...
0
I have been working on a mod that partially does this for Forge 1.8.9:
http://github.com/leduyquang753/NBS-Recorder
It doesn't make disks to record, but saves the songs into .nbs files to be opened in Note Block Studio (http://stuffbydavid.com/mcnbs) or somewhere else.
I'm going to port this to 1.12 after fixing some bugs...