Hey everyone, the next coming update will be a bit more cosmetic.
First of all I updated all our block icons in the inventory (in the GUIs).
As well as their appearance in the itemFrames.
As I found out, there is a quite easy way to manipulate the behavior.
"parent": "minecolonies:block/blockYouWant",
"display": {
"gui": {
"rotation": [30, 40, 0],
"translation": [0, -1, 0],
"scale": [0.5, 0.5, 0.5]
},
"thirdperson_lefthand": {
"rotation": [30, 40, 0],
"translation": [0, 0, 0],
"scale": [0.5, 0.5, 0.5]
},
"thirdperson_righthand": {
"rotation": [30, 40, 0],
"translation": [0, 0, 0],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_lefthand": {
"rotation": [30, 40, 0],
"translation": [0, 0, 0],
"scale": [0.3, 0.3, 0.3]
},
"firstperson_righthand": {
"rotation": [30, 40, 0],
"translation": [0, 0, 0],
"scale": [0.3, 0.3, 0.3]
},
"ground": {
"rotation": [0, 0, 0],
"translation": [0, 0, 0],
"scale": [0.3, 0.3, 0.3]
},
"fixed": {
"rotation": [0, 180, 45],
"translation": [-3, -3, -2],
"scale": [0.5, 0.5, 0.5]
}
}
Just adding the above in the json of the item, will make a nice icon out of the block.
Now, step for step, the "GUI" one is obviously for the GUI appearence.
The thirdperson_left (or right) for the hands of the player seen from another play and firstperson_left (or right) as seen when you're playing.
"ground" is for how the item looks dropped and "fixed" for how it is inside the itemframes.
Then easily adapt the x,y,z values how you want it for rotation, translation and scale and there you go!
Our models look way better now.
Additionally our Texture Artiest (D3miurge who will join us here soon as well) created some awesome block textures I implemented to have some neat new stairs block.
Introducing: The shingles
They come in 3 basic states as central, inner-and outer-corner blocks.
Since I was on it, I created some abstractions.
Now, we easily add new stairs by extending the existing class and just adding additional models and states.
Which will allow us to easily extend on top of that and add additional stairs blocks to minecolonies.
Since we're planning our shingels in up to 4 wood variants.
So players can build that stair matching them nicely to their structure type.
Posted on Utopian.io - Rewarding Open Source Contributors