Blocks

metouto

Active Member
Contributor
Art
Hope this is enough to help you ....


Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
Loaded block config for Class class org.terasology.data.blocks.definitions.Ice: [block:[version:1, shape:cube, translucent:true, hardness:1], name:Ice]
INFO: Found an existing block ID value, assigning it to Block Ice
Preparing block with name Ice
Default image returns: 13
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Setting translucent boolean to: true
Setting hardness to: 1
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.MantleStone
Loaded block config for Class class org.terasology.data.blocks.definitions.MantleStone: [block:[version:1, shape:cube, hardness:0, physics:[mass]], name:MantleStone]
Preparing block with name MantleStone
Default image returns: 16
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Setting mass to: 256000
Setting hardness to: 0
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.Plank
Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
INFO: Found an existing block ID value, assigning it to Block MantleStone
Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
INFO: Found an existing block ID value, assigning it to Block Plank
Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
INFO: Found an existing block ID value, assigning it to Block PortalBlock
Loaded block config for Class class org.terasology.data.blocks.definitions.Plank: [block:[version:1, shape:cube], name:plank]
Preparing block with name Plank
Default image returns: 22
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.PortalBlock
Loaded block config for Class class org.terasology.data.blocks.definitions.PortalBlock: [block:[version:1, shape:cube, hardness:0], name:portalBlock]
Preparing block with name PortalBlock
Default image returns: 41
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Setting hardness to: 0
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.Sand
Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
Loaded block config for Class class org.terasology.data.blocks.definitions.Sand: [block:[version:1, shape:cube, hardness:2, physics:[mass]], name:Sand]
INFO: Found an existing block ID value, assigning it to Block Sand
Preparing block with name Sand
Default image returns: 42
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Setting mass to: 32000
Setting hardness to: 2
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.Snow
Loaded block config for Class class org.terasology.data.blocks.definitions.Snow: [block:[version:1, shape:cube, faces:[sides:SnowSide, bottom:Dirt]], name:Snow]
Preparing block with name Snow
Default image returns: 43
Setting Block Snow to SnowSide for sides
Setting Block Snow to Dirt for bottom
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.Stone
Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
INFO: Found an existing block ID value, assigning it to Block Snow
Loaded block config for Class class org.terasology.data.blocks.definitions.Stone: [block:[version:1, shape:cube, hardness:16, physics:[mass]], name:Stone]
Preparing block with name Stone
Default image returns: 45
Faces are (L, R, T, B, F, B): null
Block has form DEFAULT, and color source DEFAULT
Setting mass to: 128000
Setting hardness to: 16
Has shape: cube
Got back the following class: class org.terasology.data.blocks.definitions.Tnt
Mar 1, 2012 12:30:02 PM java_util_logging_Logger$info call
INFO: Found an existing block ID value, assigning it to Block Stone
Loaded block config for Class class org.terasology.data.blocks.definitions.Tnt: [block:[version:1, shape:cube, faces:[sides:TntSide, bottom:TntBottom]], name:Tnt]
Preparing block with name Tnt
Default image returns: 46
Setting Block Tnt to TntSide for sides
Exception loading blocks. Sad :(


Edit ... the blocks themselves are at this post if you need them ....

Re: Blocks
by metouto » Thu Mar 01, 2012 7:18 am



I might add also that Tnt.groovy is in red letters and Tnt.png in images is blue and TntTop.png & TntBottom.png are both in green :?
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Yeah, the colors relate to Git status

Red (dark red, really) = new file, not prepared for Git Commit
Green = new file, prepared for Git Commit
Blue = modified existing file

That logging is plenty, key part is from where TNT starts - news tonight on it hopefully :)
 

metouto

Active Member
Contributor
Art
I am happy that there are smarter ones here that always seem to lead me in the right direction or have my back when i stumble :D I will keeo my eyes open for how I may correct my mistakes ;)
 

Immortius

Lead Software Architect
Contributor
Architecture
GUI
This:

metouto said:
faces {
sides = "TntSide"
bottom = "TntBottom"
}
combined with
And in scr/org.terasology/data/block/image ....

Tnt.png

TntBottom.png

TntTop.png
don't match up. The faces list states that the sides of the block should use an image called TntSide.png, which doesn't exist. Also there is nothing saying it should use TntTop.png.
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Oh, yeah, that's it. Don't know how I missed that :)

sides = "TntSide" should be top = "TntTop"
 

begla

Project Founder and Lead Developer
Contributor
Architecture
Logistics
Arrr. I'm loosing track of everything.

Great work Metouto! Really like your textures – but they are a bit too "blocky" if you ask me. I'd like to stay with the small 16x16 px textures. But even at this small size you can create very smooth visuals (like the "Good Morning Craft!" texture pack does) by avoiding "hard borders" (high contrast at the edges). But there are even cleaner and simpler texture packs out there... Clean is good.

With a bit of work I'm sure you'll be able to create some really unique textures. :!: ;)
 

metouto

Active Member
Contributor
Art
Good eyes Immortius ;) and I redid it to match what Cervator had posted ... sides = "TntSide" should be top = "TntTop" but that must not be everything because even with this change the black screen did no stay up :(

@ belga ... thank you for the kind words :oops: I will try for less blocky and more smooth/clean look ;)
 
Top