Skip to content

add map - #886

Draft
coco875 wants to merge 12 commits into
Steel-Foundation:masterfrom
coco875:map
Draft

coco875 wants to merge 12 commits into
Steel-Foundation:masterfrom
coco875:map

Conversation

@coco875

@coco875 coco875 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Type of change

  • Block implementation
  • Item implementation
  • Command implementation
  • Entity implementation
  • Bug fix
  • New feature
  • Breaking change
  • Refactor / code cleanup
  • Performance improvement
  • Chore / tooling

Description

(most big change are beacause of json file for color map)

Add map item, and exporation map generation.
For that I change function to allow return a pending, so if when we open a chest it's not generate, it generate and if a task (async) it need to wait for another, instead of lock and so freeze the tick, it say pending, so like that we can continue later (at the end of the tick) or at the next tick until it's ready (it still run on the tick thread).

cartographer and crafting related feature to map aren't implemented to reduce code.

to find a structure we generate multiple chunk candidate (to use multithreading) and check sequencially instead of doing 100% one by one. I have try in game and the longest can be few seconds when the structure he search are far.

(technically there is everything to the locate command also)

How this was tested

go to an abandoned camp, find a explorer map, go to the structure and see.

Screenshots / logs

image image

Checklist

  • Code builds w/o errors or warnings
  • Self-reviewed the diff
  • Docs updated (if applicable)
  • No leftover debug code / comments

Classes / commands modified:

MapItem, EmptyMapItem

Additional notes

@github-actions github-actions Bot added Item Request/implementation/Bug of an tiem Refactor labels Nov 19, 2026
@coco875

coco875 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

the extraction related pr Steel-Foundation/SteelExtractor#34

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Flint test report

Implemented tests: 820 total, 771 passed, 49 failed

Regressions

  • ❌ bamboo_stacking_on_stalk (missing from results)
  • ❌ cactus_destroys_items_inside

Newly implemented blocks/items

None.

Workflow run · failure links to flint-viz are in the test log

@Joniii11 Joniii11 added this to the 0.17.2 milestone Nov 19, 2026
@coco875 coco875 mentioned this pull request Nov 19, 2026
4 of 14 tasks
@github-actions

Copy link
Copy Markdown

This pull request has conflicts with the base branch "master". Please resolve those so we can test out your changes.

# Conflicts:
#	steel-core/src/behavior/blocks/container/barrel_block.rs
#	steel-core/src/behavior/blocks/container/chest_block/mod.rs
#	steel-core/src/behavior/blocks/redstone/diode/comparator.rs
#	steel-core/src/behavior/items/map_item/mod.rs
#	steel-core/src/chunk_saver/storage/tests/entities.rs
#	steel-core/src/entity/entities/objects/display_ui/item_frame.rs
#	steel-core/src/entity/entities/objects/display_ui/item_frame/entity_impl.rs
#	steel-core/src/entity/living_entity.rs
#	steel-core/src/entity/tracker/mod.rs
#	steel-core/src/maps/banners.rs
#	steel-core/src/maps/carrying.rs
#	steel-core/src/maps/chunk_io.rs
#	steel-core/src/maps/data.rs
#	steel-core/src/maps/interaction_tests.rs
#	steel-core/src/maps/mod.rs
#	steel-core/src/maps/storage.rs
#	steel-core/src/maps/terrain.rs
#	steel-core/src/maps/tests.rs
#	steel-core/src/server/mod.rs
#	steel-core/src/server/run_loop.rs
#	steel-core/src/world/mod.rs
#	steel-registry/build/blocks.rs
#	steel-registry/src/blocks/mod.rs
@coco875
coco875 marked this pull request as draft December 2, 2026 23:15
@coco875

coco875 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

I need to self review again

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

Conflicts have been resolved! 🎉

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

This pull request has conflicts with the base branch "master". Please resolve those so we can test out your changes.

@Joniii11 Joniii11 modified the milestones: 0.17.2, 0.17.3 Dec 4, 2026
# Conflicts:
#	steel-core/build/loot_tables/mod.rs
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

Conflicts have been resolved! 🎉

@PowerRubik PowerRubik mentioned this pull request Dec 5, 2026
5 of 14 tasks

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Item Request/implementation/Bug of an tiem Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants