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

Create Foundation base objects #146

Closed
12 of 35 tasks
thecodewarrior opened this issue Aug 5, 2020 · 2 comments
Closed
12 of 35 tasks

Create Foundation base objects #146

thecodewarrior opened this issue Aug 5, 2020 · 2 comments
Labels
enhancement New feature or request Module: Foundation Related to the Foundation module

Comments

@thecodewarrior
Copy link
Member

thecodewarrior commented Aug 5, 2020

One priority with Foundation will be that it shouldn't require a custom superclass, which means we shouldn't need a custom subclass in case you want to extend a vanilla block type.

Blocks

  • Simple (with property defaults)
  • Directional?
  • Pillar?
  • Door?
  • Trapdoor?
  • Falling? (e.g. sand)
  • Plant? (e.g. bushes, flowers)
  • Crop
  • Sapling
    • Tree growth utilities, possibly including worldgen
  • Leaves
  • Log
  • "Building blocks"*
    • Slab
    • Stair
    • Fence
    • Fence gate
    • Wall
    • Pane?
  • Pressure plate
  • Button

Items

  • Armor
  • Arrow
  • Bauble?
  • Book?
  • Bow
  • Food
  • Food Seed? (e.g. potatoes, which are food but also plantable)
  • Fishing Rod?
  • Seed
  • Shield?
  • Sword
  • Tool

Other

  • Projectile?
  • Fluid
@thecodewarrior thecodewarrior added enhancement New feature or request Module: Foundation Related to the Foundation module labels Aug 5, 2020
@thecodewarrior thecodewarrior changed the title Create Foundation base blocks/items Create Foundation base objects Aug 6, 2020
@PhotonChaos
Copy link

The base log block is not properly tagged as a log, hence leaves will still decay, and the block is not flammable.

@thecodewarrior
Copy link
Member Author

A number of features, such as flammability, require overriding methods in Block. My current plan is to have a set of foundation properties akin to Block.Properties which will define this stuff, and then the foundation base blocks will override the necessary methods to use those properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Module: Foundation Related to the Foundation module
Projects
None yet
Development

No branches or pull requests

2 participants