I'm trying to create a simple 1.8 mod, and to test my MCP 9.1 install.
I modified the msg for throw new IllegalArgumentException in ScoreObjective addScoreObjective ( Scoreboard.java). (just changed the message by adding 'mike' to the beginning of the msg.)
I ran recompile.bat, reobfuscate.bat. I then copied the bsd.class into the jars\versions\1.8\1.8.jar file. (Renamed it to .zip extension / open with WinRar / delete META-INF folder / renamed 1.8.jar.zip back to 1.8.jar
I then run startclient.bat, add an objective, then try to add it again, and instead of my modified msg, the original msg is displayed.
I also tried my modified 1.8.jar with the normal minecraft.exe client, and the same thing happens.
Any ideas / suggestions ?
*** I double checked that the 1.8.jar had my modified class (I extracted the bsd.class and decompiled it, and my modified msg IS there **
It deobfuscates it fine, but when it actually decompiles the deobfuscated code it has errors. These are the same errors MCP has, however MCP patches the errors after decompilation. Enigma does not yet support patching the code, so the errors stay.
0
Found the answer :
https://bugs.mojang.com/browse/MC-105833
{Text1:"[\"\",{\"score\":{\"name\":\"#RESULT\",\"objective\":\"COWS\"}}]"}
Whole 'lotta quoting going on there :/
0
I just tried that setblock command in mc 1.12.2, it's not working.
The output on the sign is just the literal score:{name:\"#R
So what is the correct syntax ?
0
Thanks ! Downloading now, will let you know if it works !
0
Links in the OP are dead.
Does anybody still have those files ?
Will they work in ver 1.12.2 ?
If not where are some good docs / info on the design of a "minecraft command block cpu".
Ya, I've plugged that phrase into google, leading to lots of threads with dead links :/
0
The message is actually sent from
CommandScoreboard.addObjective using the throw new CommandException which uses the assets/en_US.lang file .. where the actual message is.
0
I modified the msg for throw new IllegalArgumentException in ScoreObjective addScoreObjective ( Scoreboard.java). (just changed the message by adding 'mike' to the beginning of the msg.)
I ran recompile.bat, reobfuscate.bat. I then copied the bsd.class into the jars\versions\1.8\1.8.jar file. (Renamed it to .zip extension / open with WinRar / delete META-INF folder / renamed 1.8.jar.zip back to 1.8.jar
I then run startclient.bat, add an objective, then try to add it again, and instead of my modified msg, the original msg is displayed.
I also tried my modified 1.8.jar with the normal minecraft.exe client, and the same thing happens.
Any ideas / suggestions ?
*** I double checked that the 1.8.jar had my modified class (I extracted the bsd.class and decompiled it, and my modified msg IS there **
thx
Mike
0
Can you share a schematic for that video?
I'm just starting to experiment with ArmorStand animation.
0
I've been trying to get that working with tellraw.
So far it's just outputting a blank.
0
0
Any ideas / input / interest in my scoreboard idea ? :
www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/requests-ideas-for-mods/2268671-scoreboard-list-players-by-objective
Mike
0
Fantastic !
Thanks !
0
Any tips / hints, suggestions, appreciated, as I have limited experience with mod development.
How it would work :
/scoreboard objectives add test1 dummy
/scoreboard players set p1 test1 22
/scoreboard players set p2 test1 42
/scoreboard players set p3 test1 36
===========================
/scoreboard objectives list test1
Showing 3 tracked players for objective test1:
- test1
-- p1 22
-- p2 42
-- p3 36
A nice bonus would be to use wildcards : e.g.
/scoreboard objectives list tes* (so if objectives test1, test2, testing )
Showing 3 tracked players for objective test1
- test1
-- p1 22
-- p2 42
-- p3 36
Showing 2 tracked players for objective test2:
- test2
-- p1ayr9 27
-- zippy 93
-- p301 12
Why this wasn't implemented from the start ?
1
Thanks for the link !
>but MCP being what it is, makes it hard to find its releases
Ya, posting the link on their web site wouldn't make sense, would it ?
0
I.e. send the x,y,z and contents of the signs in the mcedit selection to a text file.
Or can the DumpCommandBlocks.py file be modified for signs ?
Is there anything about the sign object / mcedit that has prevented this filter from being written ?
Or am I the only one interested in this filter ?
Mike
0
As I'm a Java noob, if it "de-obfuscates the bytecode" "just fine", what else is missing to produce "code that can be compiled" ?
I would use MCP, but it apparently has not been updated for 1.8 yet ?
So I was trying to use the "Modding without MCP thread". That thread mentions using the Procyon decompiler, which is what Enigma is using ?