Curse Notch and his hardcoding of his abandoned features!
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Curse Notch and his hardcoding of his abandoned features!
So I began work on my next project, "Mighty Maps", today, only to discover that in order to do much of anything to make maps useful, I will have to modify the "itemrenderer" base class, because it's specifically hardcoded into that class that ONLY THE ORIGINAL MAP ITEM WILL RENDER AS A MAP, nothing else will, even if it extends itemmap.
...Why, notch? You almost did the same thing with wolves, hardcoding their attack behavior into the entityplayer class, but I could work around that. But this... there's no getting around it. I can't make an item render as a map without A, making it the original vanilla map, or B, modifying a fundamental piece of code.
*exasperated scream*
...Why, notch? You almost did the same thing with wolves, hardcoding their attack behavior into the entityplayer class, but I could work around that. But this... there's no getting around it. I can't make an item render as a map without A, making it the original vanilla map, or B, modifying a fundamental piece of code.
*exasperated scream*
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
- walker_boh_65
- Posts: 2304
- Joined: Mon Jul 04, 2011 9:40 pm
- Location: New Jersey
Re: Curse Notch and his hardcoding of his abandoned features
My only question would be, would it make it incompatible with BTW?
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Re: Curse Notch and his hardcoding of his abandoned features
It will if FlowerChild ever decides he wants an item to render differently than the standard 2D item or 3D block forms.walker_boh_65 wrote:My only question would be, would it make it incompatible with BTW?
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
- walker_boh_65
- Posts: 2304
- Joined: Mon Jul 04, 2011 9:40 pm
- Location: New Jersey
Re: Curse Notch and his hardcoding of his abandoned features
Well, either way, I would still love to try it out, so don't let base class editing stop what could become a really nice mod.RaustBlackDragon wrote:It will if FlowerChild ever decides he wants an item to render differently than the standard 2D item or 3D block forms.walker_boh_65 wrote:My only question would be, would it make it incompatible with BTW?
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Re: Curse Notch and his hardcoding of his abandoned features
Alternatively, I could edit just the map itself, and make it contain all of the features I'm planning, but that'd be trickier. I think I'll give it a shot though.
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
- Larmantine
- Posts: 333
- Joined: Tue Nov 08, 2011 3:28 pm
- Location: Latvia
Re: Curse Notch and his hardcoding of his abandoned features
Good luck with this, and please make it compatible with btw.
weldaSB wrote:Edit: grammer
- Stormweaver
- Posts: 3230
- Joined: Wed Jul 06, 2011 7:06 pm
Re: Curse Notch and his hardcoding of his abandoned features
Well, you're the modder. Personally I'd be in favour of modifying the class so as not to mess with existing maps and what have you, but I suppose for the moment it's whatever seems the best option.
I'll be willing to try this out once you're done raust, so good luck :)
I'll be willing to try this out once you're done raust, so good luck :)
PatriotBob wrote:Damn it, I'm going to go eat pumpkin pie while I still think that it tastes good.
- Ferrus.Manus
- Posts: 413
- Joined: Thu Jul 14, 2011 7:53 pm
Re: Curse Notch and his hardcoding of his abandoned features
My main problem is that I'm pretty sure editing itemrenderer.class would clash with Optifine (correct me if I'm wrong), which is essential for me to have decent visual settings.
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Re: Curse Notch and his hardcoding of his abandoned features
Ferrus.Manus wrote:My main problem is that I'm pretty sure editing itemrenderer.class would clash with Optifine (correct me if I'm wrong), which is essential for me to have decent visual settings.
I KNEW SOMETHING LIKE THIS WOULD HAPPEN!
WHY!?
Ugh. Well then, guess I'm gonna have to add the features to the vanilla map. *groan*
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Re: Curse Notch and his hardcoding of his abandoned features
It's not possible to do something like copying the relevants parts of itemrenderer.class to a new class-file, alter the names a bit and have your own maps call on that file instead? I are knowing programming - I knew how to program my calculator to print "Hello world" once upon a time ;)
FlowerChild: Ice in deserts is a good idea
Re: Curse Notch and his hardcoding of his abandoned features
D'aww. Poor Raust.
Sorry to hear that the maps are giving you so much trouble. Alas, Notch, Y U no maek kool but usles?
Still can't wait to play with it when it's done, no matter what it takes.
Sorry to hear that the maps are giving you so much trouble. Alas, Notch, Y U no maek kool but usles?
Still can't wait to play with it when it's done, no matter what it takes.
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Re: Curse Notch and his hardcoding of his abandoned features
That would require dual-loading of files. Itemrenderer tells the game what items are supposed to look like. I'd need to edit ANOTHER base class to do what you describe.Urian wrote:It's not possible to do something like copying the relevants parts of itemrenderer.class to a new class-file, alter the names a bit and have your own maps call on that file instead? I are knowing programming - I knew how to program my calculator to print "Hello world" once upon a time ;)
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Re: Curse Notch and his hardcoding of his abandoned features
Make a map extender API, promote it, make it the standard in MC modding, and you're golden :P
War..
War never changes.
Remember what the dormouse said
War never changes.
Remember what the dormouse said
Re: Curse Notch and his hardcoding of his abandoned features
I see what you mean. Pulled open the code, and yeah, itemrenderer doesn't have anything to let any object except maps render the way maps do. No calls, since it's actually built into itemrenderer. I love this man's game, but his code makes me want to burn things.RaustBlackDragon wrote:That would require dual-loading of files. Itemrenderer tells the game what items are supposed to look like. I'd need to edit ANOTHER base class to do what you describe.
Abracadabra, you're an idiot.
- Pseudosavior
- Posts: 97
- Joined: Sun Oct 23, 2011 5:32 pm
- Location: St. Louis
Re: Curse Notch and his hardcoding of his abandoned features
I'm with this idea. It's not like there's a TON of work for it! :PMoRmEnGiL wrote:Make a map extender API, promote it, make it the standard in MC modding, and you're golden :P