Mineuniverse
Log in Register
Mods

NBT Peripheral

ComputerCraft that reads NBT
by MakerTim
Claim this project
334,536 downloads
0 likes
Updated Jun 30, 2026
0 hypes

NBT Peripheral

NBT Peripheral adds the ability to use some vanilla blocks as peripheral for computers from ComputerCraft.
All of them reads NBT tags, and give them back as Tables.
If you need support for another feature, ask it in the comment section below! 

Peripherals:

OBSERVER

Commands supported:

  • read_nbt - Reads NBT from the block its facing [throws exception when no NBT is present]
  • has_nbt - Checks if the block has NBT tag
  • read_state - Reads the state from the block [throws exception when there is no blockstate]
  • has_state - Checks if the block has a block state

Note: it only can scan the block it’s facing

GOLD or IRON PRESSUREPLATE, BEACON

Commands supported:

  • is_empty - Checks if there is an entity in range
  • count - Counts the entities in range
  • read - Reads the NBT of the entities

Currently there is no difference between iron and gold pressure plates.
Reach of the pressure plates are the same as the plate itself, not the full block.
Reach of the beacon is determined by the range it would gave the potion effects (something like ~10 blocks for each level, starting at 10 blocks range) 

Custom tags when reading an entity, to make this peripheral even more powerful

  • _distanceSq [distance away from the middle of the block]
  • _relative [x,y,z relative from the peripheral]
  • _name [name from the entity, when you scan a player, its the player his name]
  • _displayName [display name from the entity]
  • _team [name of the team its in, only when in a scoreboard team]
  • _teamColor [name of the color, only when in a scoreboard team]

 

No files available for download.

More from MakerTim

SafeJoin
9,765
MakerRetroPack Mod Tweaker
3,885
SubMineOfThieves
3,731
LeftHandMap
2,445

You Might Also Like

Rope Bridge
Ever wanted to build a rope bridge to an inaccessible area? With Rope Bridge, you can!
9,737,029
Ender IO Forestry
Forestry integration module for a modular Ender IO installation
998,058
Immersive Industry (1.16/1.20)
Introduce more various process and energy production machines to Immersive Engineering.
978,517
[IV/MTS] Q.M.P [Qawsed Military pack]
Military armor NATO and SOVIET Army
97,945
CreepTech
Technology + Adventure
9,965
[Immersive Vehicles] Ghost Corporation (Ghostride)
Pack for Immersive Vehicles, adds cars from my imagination
9,960