Minecolonies & New Shingles Block + Model Updates

in #utopian-io7 years ago

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

Sort:  

Congratulations @raycoms, this post is the tenth most rewarded post (based on pending payouts) in the last 12 hours written by a User account holder (accounts that hold between 0.1 and 1.0 Mega Vests). The total number of posts by User account holders during this period was 2972 and the total pending payments to posts in this category was $3643.52. To see the full list of highest paid posts across all accounts categories, click here.

If you do not wish to receive these messages in future, please reply stop to this comment.

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @raycoms I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • You are generating more rewards than average for this category. Super!;)
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Hola mi nombre es Herman Sánchez. Soy de Venezuela, hoy quiero pedir su colaboración con las publicaciones que publiqué, la situación es que mi país es muy complicado, y junto con mi esposa esperamos un bebé, ambos tenemos un trabajo pero solo ganamos $ 2 por mes, gano mucho más dinero publicando publicaciones en Steemit que haciendo 8 horas al día y 6 días a la semana, la situación en Venezuela no da para poder tener un bebé pero me esforzaré todos los días para que mi hija sea la más feliz y tenga todo en la vida, no te pido que me pagues un dólar, pero si me ayudas dando votos a mi publicación para ahorrar cuando nazca mi bebé, es una niña y tiene casi 5 meses poco antes de que nazca :C

wow, very cool...

Thanks for sharing this update....i have been enlightened by this.

And just fyi, you don't want to know how the blocks looked in the itemFrames before I updated them =D

Looks pretty cool. I like minecraft!