Awareness block #53

Merged
BlakeRain merged 13 commits from BlakeRain/utamacraft:27-cc-awareness into main 2024-01-18 12:03:14 +00:00
Owner

This PR adds the awareness block (not the turtle peripheral). This block can be used to perform a scan of the area. This can be used to obtain information about all the blocks in a radius.

image

Some things that need to be thought about:

  1. How do we limit either the number of times the block can be used, or rate at which it can be used. For example, we could have a fuel limit for the block or something. Maybe this would be better for an advanced awareness block that allows a greater radius, or for the turtle peripheral.
  2. Do we need to limit the radius that we can scan. Of course, the answer is yes, computationally: we're scanning a (2R+1)³ square region, such that scan(1) scans 27 blocks, scan(2) scans 125 blocks, and scan(10) scans 9,261 blocks.
This PR adds the awareness block (not the turtle peripheral). This block can be used to perform a scan of the area. This can be used to obtain information about all the blocks in a radius. ![image](/attachments/52fb1008-cd4f-49ba-bc81-b65706e5f71a) Some things that need to be thought about: 1. How do we limit either the number of times the block can be used, or rate at which it can be used. For example, we could have a fuel limit for the block or something. Maybe this would be better for an _advanced_ awareness block that allows a greater radius, or for the turtle peripheral. 2. Do we need to limit the radius that we can scan. Of course, the answer is yes, computationally: we're scanning a (2R+1)³ square region, such that `scan(1)` scans 27 blocks, `scan(2)` scans 125 blocks, and `scan(10)` scans 9,261 blocks.
113 KiB
BlakeRain added the
Focus/CC
Focus/Block Entities
Focus/Blocks
Kind/Feature
labels 2023-12-30 15:57:02 +00:00
BlakeRain self-assigned this 2023-12-30 15:57:02 +00:00
BlakeRain added 12 commits 2023-12-30 15:57:02 +00:00
Author
Owner

Currently the block looks like complete ass, as I've just done the bare minimum for a block.

image

Currently the block looks like complete ass, as I've just done the bare minimum for a block. ![image](/attachments/f9391a75-d54b-4aa6-90a3-7f17200d97ff)
336 KiB
BlakeRain added 1 commit 2024-01-18 12:00:20 +00:00
BlakeRain changed title from WIP: Awareness block to Awareness block 2024-01-18 12:03:01 +00:00
BlakeRain merged commit 7d7819ebff into main 2024-01-18 12:03:14 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bans-minecraft/utamacraft#53
No description provided.