Skip to content

Library to allow you to read TI-84 Blocks world and port them to Minecraft java world

License

Notifications You must be signed in to change notification settings

programminglaboratorys/TIBlocks.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIBlocks.py

Library to allow you to read TI-84 Blocks world

Install it

clone and install it with:

pip install TIBlocks.py/

Usage

from TIBlocks import load, Blocks
# A,B,C,D,E
player, world = load(world_id)
# blocks[y][x][z]
# blocks[16][48][48]
print(world.blocks)
world.set_block(0, 0, 0, Blocks.GRAVEL) # or 18, Block(18)
print("player current block is", player.current_block.name)

convert your it-84 BLOCKS world into a Minecraft world

$ python -m TIBlocks
#or
$ TIBlocks

Note

you must be in the same folder as the world.

try it yourself!

$ cd worlds/World-A
$ python -m TIBlocks
NOTE you must be in the same directory as the .8xv files
world id (A,B,C,D,E): A
done processing TI-84 blocks world
07-09-24 22:24:02 - world folder created
07-09-24 22:24:02 - level.dat created
07-09-24 22:24:02 - region file r.0.0.mca created
07-09-24 22:24:02 - all region files created, world is ready

Warning

The library was tested on Minecraft 1.16.5. Opening a world might freeze the game; close and reopen to resolve.

results

java-gameplay

Development

Read the CONTRIBUTING.md file.

About

Library to allow you to read TI-84 Blocks world and port them to Minecraft java world

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages