I mean i cannot set name of variable using other variables content. Java "dynamic variables" simply don' exist (source: google
And why my idea is bad? I create client and server side mods, and when I need to modify something, I don't need to change client. Spoutcraft will do that, but it dont support Forge or even Minecraft 1.6.2, because I need to create similar (but simplier) mod myself.
I'm creating mod that creates blocks whose properties are set by server using packets. Because of this, I need to create client that can create block runtime when packet that holds properties arrive (when connecting)
In Java it impossible to create variable, which name is in variable. When I create new block using Forge, I need to set variable. Can I use maps or is there any other method?
6 replies
Important Information
By using this site, you agree to our Terms of Use.