Futurecraft Forums

A forum dedicated to communication and innovation!
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Welcome, one and all, to the Futurecraft Forums!

Share | 
 

 Rare ores and extraction?

View previous topic View next topic Go down 
Go to page : Previous  1, 2
AuthorMessage
Danice123
DEV
DEV
avatar

Posts : 607
Join date : 2012-01-06
Age : 23
Location : The Dankins

PostSubject: Re: Rare ores and extraction?   Sun Mar 11, 2012 11:09 am

"World.class.getClass(BlockFurnace)"
...

You might want to learn a little more about java before trying this kind of thing.
Back to top Go down
View user profile http://wbcentral.com
fr0stbyte124
Super Developrator
Super Developrator
avatar

Posts : 1835
Join date : 2011-10-13

PostSubject: Re: Rare ores and extraction?   Sun Mar 11, 2012 11:26 am

Static is not like final. Final is Java's version of constants; you define it once and never again. Static means there is only one instance of that particular thing instead of being bound to objects. You access things with Class.element instead of object.element.
Back to top Go down
View user profile
Iv121
General
General
avatar

Posts : 2396
Join date : 2012-02-05
Age : 22
Location : -> HERE ! <-

PostSubject: Re: Rare ores and extraction?   Sun Mar 11, 2012 1:21 pm

So you don't have to assign memory to it every time you use it ?
Back to top Go down
View user profile
fr0stbyte124
Super Developrator
Super Developrator
avatar

Posts : 1835
Join date : 2011-10-13

PostSubject: Re: Rare ores and extraction?   Mon Mar 12, 2012 10:20 am

You mean for statics? No, you allocate memory once, because there will only ever be one instance of it. Look at some examples and it will make sense.
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Rare ores and extraction?   Mon Mar 12, 2012 11:27 am

ahhhh yeah that's what it was


thanks frostbyte!
Back to top Go down
View user profile
The Schmetterling
DEV
DEV
avatar

Posts : 3123
Join date : 2011-08-31
Location : I'm a butterfly.

PostSubject: Re: Rare ores and extraction?   Mon Mar 12, 2012 3:53 pm

Off topic!!

But seeing as your new topic is actually useful for the progress of the mod, I wont lock the topic.
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Rare ores and extraction?   Mon Mar 12, 2012 5:02 pm

really? thanks!


i'm motivated to try again!


code ALL the mods!
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Rare ores and extraction?   

Back to top Go down
 
Rare ores and extraction?
View previous topic View next topic Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» Review: Dead Space Extraction (Wii Retail)
» Who Killed Rare?
» McDonald Monopoly 2012 *United States, Guam, Saipan, Puerto Rico & Canada residents* *Pre-contest sweepstakes begins 9/18/12*
» Parasite show- Monsters inside me...
» Sphyraena barracuda AKA Great Barracuda

Permissions in this forum:You cannot reply to topics in this forum
Futurecraft Forums :: Development :: Idea Center-
Jump to: