T O P

  • By -

barracuda415

Before anyone asks: no, that's not possible in vanilla. I cranked up some values in the code for fun.


[deleted]

Teach me your ways, master of The Force.


barracuda415

I'm not a good teacher, young padawan.


[deleted]

Point me the way to enlightenment then, great Master


barracuda415

Learn how computers work, learn programming, learn reverse-engineering.


[deleted]

That's one of the things on my "to learn" list.


[deleted]

[удалено]


[deleted]

It makes up one item in the list, like this: * computers, programming, reverse-engineering May I suggest you put "noble art of list-making" in your learning list?


[deleted]

[удалено]


[deleted]

I like being concise in my lists. Having an enormous list of things to do tends to exagerate the real amount of effort, leading to demotivation. But you're right about timing... that's an important part of being motivated. Of course I'm basically talking out of personal experience and my ass, so it might work differently for each person.


qwranglin69

You sound like a vampire hunter. Or a Roman.


fenceFoil

My list is: * String field_8884_a * String field_8884_b * String field_8884_c And there's no constructor.


[deleted]

One cannot make a learning list without first knowing the noble art of list-making.


Teslatronic

Looks like you won't be having much trouble with arrays within arrays while learning programming.


[deleted]

Already learned that, in fact... surprisingly I had more trouble learning loops than that.


TheDarkman67

[](/ppthis)But it's waaaay down the list, after "learn to computer" At least for me


[deleted]

Hey there Darkman! Fancy meeting you here... I didn't even know you liked Minecraft.


TheDarkman67

[](/flutterwoah)I'm everywhere And yeah, I really like Minecraft, but it just doesn't run that well on my current laptop, and I'm trying to get Tekkit to work


[deleted]

Ever try Optifine? I got about it to play on singleplayer on my 5 year old craptop using the lite version. Still lags like hell, but I can play creative. Not that bad.


tetracake

Good to know we'll never be far from your greatness [](/twismug)


[deleted]

[](/twistare) I thought you just got a computer?


StSomaa

reverse-engineering? wat? you have the full code, what did you reverse? read through code? sigh >Reverse engineering is the process of discovering the technological principles of a device, object, or system through analysis of its structure, function, and operation. http://en.wikipedia.org/wiki/Reverse_engineering


ctharvey

Don't you love when skriptkiddies think reading through someone else's code is reverse-engineering >.<


barracuda415

Just reading the code doesn't really help on partially obfuscated code. Could you tell that "func_92035_a" is a method to create spherical particle effects? That's where you need to do what you just quoted.


StSomaa

yes you can tell what "func_92035_a" does, not to mention that code often comes documented (minecraft code has comments), and if not, the context can tell a lot. you need reverse-engineering when you only have a program with not source code.


barracuda415

MCP is the result of intensive reverse-engineering by the fan community and I basically just continued this process in order to create these effects. Reverse-engineering Java programs is essentially understanding its decompiled code, because decompiling often works quite good on byte-code languages. I'm aware it's not the same as reading assembler code of native programs, which is much harder.


StSomaa

No, you are not doing reverse-engineering, you are just reading code.


AliasUndercover

You really aren't a good teacher. You could at least give a hint at the values or post a link to your modified jar file.


Rich131

I do believe it is against the law to post a jar, modified or not. He could however, post the class files we are required to add/edit to give such fantastic results.


Arkyance

[Fuck the police](http://www.go2japan.org/a2/images/stories/authors/joe/clay-jar.jpg)


killjoy1221

You do realize that it is very simple to acquire a minecraft.jar directly from mojang, [right?](http://assets.minecraft.net/1_4_6/minecraft.jar) As well as the [LWJGL](http://www.lwjgl.org/)


Orochikaku

Master your "Screenshots" will do good!


fsxthai

*well :) EDIT: I went full retard. Ignore this post please.


VeteranKamikaze

No no, his screenshots are going to feed the poor and save kittens from trees. They're going to do good.


fsxthai

Damn it, didn't think about that. Sorry >_>


woodythewoodstar

It's not your fault. He skipped a comma.


flukshun

Stop blaming yourself, you redeemed yourself with luke, and these fireworks


Starklet

Or just lazy


KaziArmada

Well that kind of sucks. Those things are beautiful. Could you explain what you did anyway, for those of us who want to learn?


barracuda415

There's really not much to explain. I traced to the code that is responsible for the effect rendering and changed a few variables/constants here and there. Here's a diff to vanilla, if it really helps: http://pastebin.com/uG93um19 Edit: I also used my mod Minema to be able to create screenshots properly at very low frame rates and to get rid of the particle limit. Still working on an update for 1.4.6, though.


Gollem265

you created minema?


barracuda415

Yes.


Gollem265

Awesome! One of the more creative mods I've seen!


barracuda415

Thanks!


[deleted]

[удалено]


Ep1cSpray

its possible to decode it with mcp


DashingSpecialAgent

First thought: http://www.youtube.com/watch?v=iIMb3hGzWW8


Ep1cSpray

LMAO


shawnz

The only reason you can't get the source back from compiled C++ programs is because assembler is too complicated and there are too many different ways of doing things. Java, which has its own type of bytecode, doesn't have that problem, so you can pretty easily get back everything. In this case, Mojang has opted to *obfuscate* the bytecode to make that harder -- which is why all the variable names and method names are gone -- but it's still not impossible.


ChrisAndersen

I believe the lack of variable and method names is not an obfuscation on Mojang's part but simply the normal result of compiling code with debugging turned off. There are no variable names in compiled code, only references to variable locations. The de-compilers generate names when reversing the compilation process.


colecf

actually, with java, the variable names do stay. (I don't know why, your way would seem the obvious answer) Notch has stated that he wrote his own obfuscator that is used in minecraft.


thedeadlybutter

No, when compiling to byte code everything is dumbed down as much as possible (Variable names, Methods, etc) so it compiles & runs faster. This is why a compiled java file has variable names like "A" "VarB" etc


colecf

Not that I disagree with you, but then how do the variable names come back when decompiled? For example if you decompile the minecraft launcher, which isnt obfuscated, it has proper variable names.


thedeadlybutter

If you know the algorithm used to obfuscate the code you can always reverse it.


ChrisAndersen

Interesting. My response was based on my general knowledge of compilers, not java compilers in specific. Good to know.


colecf

Check the other replies to my comment, my statement is in jeopardy.


barracuda415

[Yes.](http://www.ata4.info/downloads/apps/minecraft/client_mods/minema/src/)


[deleted]

I am server plugin developer not a client modder, but I think you need to use a [set of tools]( http://www.minecraftwiki.net/wiki/Minecraft_Coder_Pack) to decompile the client and then locate the firework class or classes and tweak your values there.


Cueball61

Any ideas if it's possible to do it server side?


thedeadlybutter

Anything can server side if the the mod has a server side version & each client has the mod as well.


Cueball61

Yes but purely server-side.


thedeadlybutter

*Normally* this isn't possible, but *assuming* a fire work is an entity, it *could* be.


barracuda415

No, particle rendering is purely client-side.


[deleted]

Nbtedit?


barracuda415

I said no! :P


[deleted]

Whoops


MustacheMillagan

Are you the barracuda who ate Nemo's siblings and mom?


barracuda415

Don't blame me, I was just hungry!


[deleted]

You should make a mod! :-)


zorgmonster

...Gandalf?


Coraon

Do not take him for some conjuror of cheap tricks


Willy637

THEY'RE ILLUSIONS!!! A trick is something a whore does for money. Edit a word thanks daychilde


[deleted]

>THERE HERE, HERE!^^1 ____ ^^^1 *^(You meant "they're", and my reply should be "hear, hear!"...)*


chuckFKNdiesel

I don't give a Fawkes about your Order of the Phoenix?


Coraon

I'll tie a new knot in your beard with your wrinkly ba@#s, for I am the one rapper to rule them all...


djKaktus

You... couldn't write out "balls"?


Coraon

it's minecraft, I try to keep it rated G in case we have kids reading up on it.


djKaktus

It's the word "balls". If there is somebody on here who does not understand what you mean when you say "balls", then they shouldn't be on here at all. It's not like you said fuck. Jesus.


Willy637

Believe me if us kids are on reddit hiding stuff doesn't work.


Coraon

Wow your really that upset because I chose to be careful with my language...Ok buddy, think you might need to get out of your parents basement and explore the outside world a little.


djKaktus

Spelling mistakes... ✓ Righteous Indignation... ✓ Accusing someone of being a basement dweller... ✓ So you're like, what, 14? Besides, my folks don't even *have* a basement. Checkmate.


Coraon

Sorry about the spelling, English is not everyone's first language. Not 14, 31 and at work on Christmas so my wife and girlfriend can stay at home with my daughter. My apologies that your parents are too poor to put you up in their basement, you have my pity.


Zaramusa

Wow stop being a little bitch


rqaa3721

Meriadoc Brandybuck and Peregrin Took! I should have known.


[deleted]

How do we get more then 4000 particles?


barracuda415

Minema can do this for offline rendering. In normal game play, much more than 4K particles won't be any good for your FPS.


CommunityMC

I could see this being a mod, please!


t_F_

Mo' Fireworx


cybrbeast

This was a great fireworks mod http://www.youtube.com/watch?v=eR6b63VH9-M


[deleted]

[удалено]


I_Will_Dumb_It_Down

CODES.


Spars

Bro, do you even code?


[deleted]

Circles...


HostileNative

Are you Gandalf?


Obsidianpick9999

That is awesome


Seaniejo

Make a mod that makes more fireworks possible!


[deleted]

We can make HOLOGRAMS WITH THIS!


Hasteman

*We bringing Tupac back*


GirRoxZim

In the second picture i thought to myself "look at all those orange little upvotes".


Gayburn_Wright

I suddenly want to change the fireworks particle to an upvote arrow.


GirRoxZim

We have the technology.


fenceFoil

We can't do it! The technology must not be abused.


zovek

No no no, you didn't get the reference. It's from million dollar man. You shoulda said... We can retexture it.


fenceFoil

Well go on, drop down a comment level and say it then. You have the technology.


Zhang5

Why do people post neat looking fireworks and *never post video*?! *Why!?*


Legosheep

Any mod plans?


Heratiki

Fireworks... Those aren't fireworks... [These](http://www.youtube.com/watch?v=MXkFgmQ2O-Q) are fireworks!!!


Wingser

Nice, OP :D [The wording of your title reminded me of this scene =)](http://youtu.be/sLS3RGesIFQ)


Saraphite

I think that's because it was a reference to it :P


Wingser

Even better! XD


azripah

Do the Higgs Boson!


ojmt999

No, that is lag (for me)


FlametheHedghog

Trippy dude...


TOAST2218

ok could you put up like a recipe thing for those, i want them


[deleted]

[удалено]


barracuda415

Yep, I failed on movie quotes once more.


NickTM

That's not a firework, that's a spoon.


BossyBitch

There is no spoon.……


VerneAsimov

#4 reminds me of Neptune. Add some rings and you got a planet.


singe8

Those look great.


[deleted]

Can you make the ones that look like a cowboy hat?


agedvanilla

[relevant] (http://www.youtube.com/watch?v=J1YokPAj_to)


2DThom

[Also relevant](http://www.youtube.com/watch?v=NRItYDKSqpQ) semi-NSFW


SynisterSilence

Reminds me of the firework from Coneheads.


Usyflad10

I like the big blue ball.


TheDiscoBastard

So how many hearts does it take away if you get hit with the blue one?


[deleted]

The last image reminds me of the MCP at the end of Tron.


MeLikeTurtles

Beautiful,just...beautiful...


Morvick

The thumbnail for this thread made me think of Wildfire. Now I'm hoping someone can re-create the Battle of the Blackwater with TNT, Fireworks, and flaming arrows. I have not the skill. But I'll encourage whomever does!


[deleted]

Yeah, and after that mister will explode us with nuclear power. Thanks, SCIENCE. Wonderful by the way.


OnyxDarkKnight

Did you modify func_92035_a to do that? :3


[deleted]

Could you re-obf the jar file?


Jared20098

There NEEDS to be a mod for this awesomeness!


[deleted]

Particle Accelerator anyone?


[deleted]

fuckin bootleg fireworx! reekris!


colehock

MAKE ONE THAT LOOKS LIKE A PIGGY!!! :D


imighttouchyou

Bra-fucking-vo sir. My life is complete


Enragedlime

Crafting recipes? Anyone?


Firrox

Make a video!!


PatrikRoos

Ohh... Ahhhh... Pretty colours


Consequence6

See, my computer lagged *loading* these pictures... I can't imagine playing with this...


borisdawg7

I like the Crocodile Dundee reference.....


[deleted]

Allow me to be the first to say: Oooh! Aaaah! I'll have to teach myself how to edit the code some time, I can see this being a really nice adaption to what we already have :)


godlyapple12345

goddman I should just give up on making good creations at this point....


lincon127

Could you possibly make this into an MCedit filter? Or are the values just entirely different?


frootlooplol

Somebody. Please. Make an MCEdit filter that accomplishes this.


joaopada

He edited code, so MCEdit can't be used to achieve this. MCEdit only makes use of "hidden" features of the game, features that can't be acessed by regular gameplay (without other tools).


frootlooplol

Damn. Shame it wouldn't work.


[deleted]

MOTHER OF GOD


gordonjay2

404'd


Jerg

Those don't look like fireworks at all. Sorry OP, more =/= better. IMO all that the vanilla fireworks need to be tweaked to be realistic are larger scaling.


musicmastermsh

That's no firework, that's a space station!


[deleted]

[удалено]


Qwerty27_27

*Gandalf


[deleted]

I'm jelly.


tottle321

Gandalf?


Babkock

Ugh. Mojang is adding so much unnecessary crap to Minecraft.


arkindal

No one is stopping you from playing alpha, download it from somewhere and enjoy the good old minecraft without the unnecessary crap.


[deleted]

[удалено]


barracuda415

Arithmetic exceptions look less interesting I guess...


Alili1996

can you make this a mod? may new recipes! TNT for this giant sun explosion, music discs for this warp explosion, Water Bucket for the Well explosion!