Skip to main content

Python package that loads data from Minecraft: Bedrock Edition packs into SQLite database

Project description

Documentation Status

SQLite bedrock packs

Python package that loads data from Minecraft: Bedrock Edition packs into SQLite database.

Documentation

If you’re looking for documentation please visit:

https://sqlite-bedrock-packs.readthedocs.io/en/stable/

Installation

pip install sqlite-bedrock-packs

Changelog

3.2.0

Added new tables:

  • FeatureFile

  • Feature

  • FeaturePlacesFeatureField

  • FeaturePlacesFeatureFieldValue

  • FeatureFeaturetypeEnum

  • FeatureRuleFile

  • FeatureRule

3.1.1

Better type hints.

3.1.0

Added new tables for behavior pack blocks and terrain textures:

  • BpBlockFile

  • BpBlock

  • BpBlockLootField

  • BpBlockGeometryField

  • BpBlockMaterialInstancesField

  • BpBlockMaterialInstancesFieldInstance

  • TerrainTextureFile

  • TerrainTexture

  • TerrainTextureVariation

3.0.2

Fixed invalid caching and extended the annotations:

  • The table properties used to always return the values from the first row of the table that run ‘query_result’ function

  • The annotation for creating table classes was mostly rewritten with a custom solution that doesn’t use ‘namedtuple’ anymore (it shouldn’t be noticable from user perspective).

  • Added ‘build_query’ to annotations

3.0.1

Removed from the code the use of an unsupported on Python 3.9 TypeVarTupl type annotation.

3.0.0

Removed the EasyQuery object and relpaced it with functions:

  • build_easy_query

  • yield_from_easy_query

  • yield_from_any_query

The functions are properly annotated so their results don’t requrie casting to the wrapper classes anymore.

2.1.1

Changed the minimal supported version of Python from 3.10 to 3.9

2.1.0

Added new tables for storing the information about relations of entity spawn eggs and their presence in loot tables and the trade tables:

  • LootTableItemSpawnEggReferenceField

  • TradeTableItemSpawnEggReferenceField

  • EntitySpawnEggField

2.0.0

Restructured the project to be more object oriented, added EasyQuery object.

1.2.0

  • Added new tables:
    • BpAnimation

    • BpAnimationController

    • BpAnimationControllerFile

    • BpAnimationFile

    • BpItem

    • BpItemFile

    • BpItemParserVersionEnum

    • EntityLootField

    • EntityLootFieldComponentTypeEnum

    • EntityTradeField

    • EntityTradeFieldComponentTypeEnum

    • LootTable

    • LootTableFile

    • LootTableItemField

    • LootTableLootTableField

    • RpItem

    • RpItemFile

    • TradeTable

    • TradeTableFile

    • TradeTableItemField

  • Added new fields to the entity
    • LootTable

    • TradeTable

1.1.1

Fixed crashes caused by missing client_entity identifier.

1.1.0

  • Added new tables:
    • BehaviorPack

    • Entity

    • EntityFile

    • SoundDefinition

    • SoundDefinitionSoundField

    • SoundDefinitionsFile

    • SoundFile

  • Added type annotations and py.typed file.

  • renamed better_json module to better_json_tools

1.0.2

  • Supported objects:
    • Attachable

    • AttachableAnimationControllerField

    • AttachableAnimationField

    • AttachableFile

    • AttachableGeometryField

    • AttachableItemField

    • AttachableMaterialField

    • AttachableRenderControllerField

    • AttachableTextureField

    • ClientEntity

    • ClientEntityAnimationControllerField

    • ClientEntityAnimationField

    • ClientEntityFile

    • ClientEntityGeometryField

    • ClientEntityMaterialField

    • ClientEntityRenderControllerField

    • ClientEntityTextureField

    • Geometry

    • GeometryFile

    • Particle

    • ParticleFile

    • RenderController

    • RenderControllerFile

    • RenderControllerGeometryField

    • RenderControllerMaterialsField

    • RenderControllerTexturesField

    • ResourcePack

    • RpAnimation

    • RpAnimationController

    • RpAnimationControllerFile

    • RpAnimationControllerParticleEffect

    • RpAnimationControllerSoundEffect

    • RpAnimationFile

    • RpAnimationParticleEffect

    • RpAnimationSoundEffect

    • TextureFile

Older releases

No changelog for releases before PyPI

MIT License

Copyright (c) 2022 Nusiq

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlite_bedrock_packs-3.2.0.tar.gz (42.3 kB view hashes)

Uploaded Source

Built Distribution

sqlite_bedrock_packs-3.2.0-py3-none-any.whl (61.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page