Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tall Grass #636

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented Feb 25, 2024

This adds tall grasses. There are several behaviours related to tall grasses, including natural generation and wheat seeds dropping when broken.
This might work better with flowers added in #445.

Changes:

  • World generation:
    • Tall grass tiles are generated together with flowers.
    • Flower tiles have slightly some chance to be generated in different variants in the same generation vein.
    • Generation density of generation vein now varies randomly.
    • Size of generation vein is slightly larger.
    • Chance to generate flower is smaller than tall grass
  • Grass tile:
    • Small chance to generate tall grass each tick.
    • Chance to get wheat seeds is slightly smaller.
    • Fertilizer can be applied to forcedly generate tall grass, with a chance of 1/3.

# Conflicts:
#	src/client/java/minicraft/level/tile/GrassTile.java
#	src/client/java/minicraft/level/tile/Tiles.java
#	src/client/resources/assets/localization/en-us.json
@BenCheung0422 BenCheung0422 added F-Addition Issue related to addition of feature or system. World system Issue related to game world system/mechanics. World generation Help wanted An issue requiring extra attention. labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-Addition Issue related to addition of feature or system. Help wanted An issue requiring extra attention. World generation World system Issue related to game world system/mechanics.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant