Futurecraft Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Futurecraft Forums

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

 

 Rare ores and extraction?

Go down 
+3
hell2o
fr0stbyte124
Laibach
7 posters
Go to page : Previous  1, 2
AuthorMessage
Danice123
DEV
DEV
Danice123


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

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeSun 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
http://wbcentral.com
fr0stbyte124
Super Developrator
Super Developrator
fr0stbyte124


Posts : 1835
Join date : 2011-10-13

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeSun 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
Iv121
General
General
Iv121


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

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeSun 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
fr0stbyte124
Super Developrator
Super Developrator
fr0stbyte124


Posts : 1835
Join date : 2011-10-13

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeMon 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
Laibach
General
General
Laibach


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

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeMon Mar 12, 2012 11:27 am

ahhhh yeah that's what it was


thanks frostbyte!
Back to top Go down
The Schmetterling
DEV
DEV
The Schmetterling


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

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeMon 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
Laibach
General
General
Laibach


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

Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitimeMon Mar 12, 2012 5:02 pm

really? thanks!


i'm motivated to try again!


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





Rare ores and extraction? - Page 2 Empty
PostSubject: Re: Rare ores and extraction?   Rare ores and extraction? - Page 2 Icon_minitime

Back to top Go down
 
Rare ores and extraction?
Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» Dr. Mackeroth's development log

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