Giter Club home page Giter Club logo

Comments (4)

iojw avatar iojw commented on May 28, 2024

Bushes don't grow because they don't contain a PlantDefinition component unlike seeds. This shouldn't be a problem since in actual gameplay, players can't actually obtain the bush block 🙂. They can only plant the seeds, which takes care of the growth of the plant. If they do destroy a bush formed by a seed, they'll get back the seed.

from simplefarming.

TimVerhaegen avatar TimVerhaegen commented on May 28, 2024

Wait people can right? When you break them? Hmhh I think yes.. Let me test that out. You're right! For some reason this indeed is the case (I don't find it logical). Perhaps an idea, making all of the bushes able to grow? :) This may sound stupid, but there might be a way of players getting them, like through loot or servers /giving them?
Thanks for the feedback!

from simplefarming.

iojw avatar iojw commented on May 28, 2024

@TimVerhaegen: To explain this further, the data for the growth stages is stored in the seed prefab. When you plant the seed and it grows, this data is transferred from the the current block to the next block. This is how each block in the growth stage knows what to grow into the next. 🙂

When you use the /give command for a bush block, this bush block doesn't contain any data about the growth stages, thus it cannot grow. I'm not sure if there's any point to adding this in since this can't actually happen in a real game and also, adding it in would mean that you would have to copy the growth stages in the seed prefab to each of the bush prefabs, which might be a little tedious.

from simplefarming.

TimVerhaegen avatar TimVerhaegen commented on May 28, 2024

Alright good to know :) thanks!

from simplefarming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.