joachimcoenen / datapack-editor Goto Github PK
View Code? Open in Web Editor NEWA Minecraft Datapack creator and editor
License: Apache License 2.0
A Minecraft Datapack creator and editor
License: Apache License 2.0
requires #3
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
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'
requires #4
Requires #3
requires #4
Implement validation for recipe files
JsonData
And drop support for older Minecraft versions.
there should be a fixed set of style ids from which a syntax highlighter can choose.
Currently there's only a Datapack version selector.
currently #minecraft:stairs[waterlogged=False]
is marked as an error, which is wrong.
Required fields:
CTRL+G
.ParsedNode
CommandNode
Position
& Span
ArgumentType
argumentValues.py
tokenizer.py
NBTTag
Gamerule
clickableRangesForFilterArgs(...)
crashes if fa.value
= None
.
replace except (FileNotFoundError, PermissionError) as e:
with except (OSError) as e:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.