Giter Site home page Giter Site logo

joachimcoenen / datapack-editor Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 3.0 2 MB

A Minecraft Datapack creator and editor

License: Apache License 2.0

Python 99.95% Batchfile 0.05%
minecaft mcfunction datapack minecraft-datapack editor minecraft-data-pack

datapack-editor's People

Contributors

joachimcoenen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

datapack-editor's Issues

random 0xC0000409 error while editing file

Impossible to reproduce reliably.
It might be caused by the OrderedMultiDict imlpementation.
or by exceptions raised in functions called from PyQt5 (wrap them with @CrashReportWrapped ?)
Affects all versions up to and including 0.6.0-alpha

getBestFAMatch(...) crashes with message "AttributeError: 'BlockState' object has no attribute 'values'"

Affects

  • 0.2.0-alpha

Traceback

Traceback (most recent call last):
  File "D:\Programming\Python\Cat\Cat\CatPythonGUI\utilities.py", line 21, in wrappedSlot
    slot__(*args, **kwargs)
  File "D:\Programming\Python\Cat\Cat\CatPythonGUI\utilities.py", line 145, in call
    return func(*args, **kwargs)
  File "D:\Programming\Python\Cat\Cat\CatPythonGUI\GUI\codeEditor.py", line 558, in _onIndicatorClicked
    api.indicatorClicked(Position(line, index), state)
  File "D:\Programming\Python\MinecraftDataPackEditor\gui\mcFunctionLexer.py", line 276, in indicatorClicked
    handler.onIndicatorClicked(match, position, window)
  File "D:\Programming\Python\MinecraftDataPackEditor\model\commands\argumentHandlersImpl.py", line 229, in onIndicatorClicked
    onIndicatorClickedForFilterArgs(argument.value, position, window)
  File "D:\Programming\Python\MinecraftDataPackEditor\model\commands\filterArgs.py", line 216, in onIndicatorClickedForFilterArgs
    if (match := getBestFAMatch(filterArgs, position.index)) is not None:
  File "D:\Programming\Python\MinecraftDataPackEditor\model\commands\filterArgs.py", line 106, in getBestFAMatch
    for fa in fas.values():
AttributeError: 'BlockState' object has no attribute 'values'

Setup dialog for plugins

  • give plugins the ability to define a setup dialog gui.
  • remember whether setup has been done for each plugin (using a counter, for when the update of a plugin requires the setup to be redone.
  • Allow setup dialog to show only necessary setup steps, with option to see full setup dialog.

SerializableContainer -> dataclass

  • for ParsedNode
  • for CommandNode
  • for Position & Span
  • for ArgumentType
  • in file argumentValues.py
  • in file tokenizer.py
  • for NBTTag
  • for Gamerule
  • GeneralParsingError

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.