Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change BlocklyToFeature to extend BlocklyToJava - Feature Mod element #8

Merged

Conversation

Goldorion
Copy link

When I asked you here if it could use Blockly2Java instead of BlocklyToCode directly, you answered me you couldn't as you needed to execute something before the code execution.
I adapted a little bit (minor changes) BlocklyToJava and your BlocklyToFeature, so we can avoid repetitive code (the exact purpose of my recent changes with Blockly).

I did not add the BlocklyEditorToolbar, but it may be interesting to have it, so templates can be used in the future when complex features will be possible.

@AlsoSomeoneElse
Copy link
Owner

Looks good, thank you!

@AlsoSomeoneElse AlsoSomeoneElse merged commit 4420266 into AlsoSomeoneElse:feature_element Mar 24, 2022
@Goldorion Goldorion deleted the use-blockly2java branch March 24, 2022 14:18
AlsoSomeoneElse pushed a commit that referenced this pull request Aug 8, 2023
* Update ai_path_node_type.md

* Update beacon_color_modifier.md

* Update bind_gui.md

* Update block_sound.md

* Update bounding_box.md

* Update creative_pick_item.md

* Update drop_amount.md

* Update drop_inventory_items.md

* Update unbreakable.md

* Update when_added.md

* Update when_entity_walks_on.md

* Fix outrageous errors in Simplified Chinese!! (#2)

* fixed

* Update display_condition.md

* Update base_texture.md

* Update overlay_target.md

* Update rendering_priority.md

* Update display_condition.md (#3)

* command

* common

* dimension

* enchantment

* feature

* entity

* fluid

* function

* name

* gui

* item

* item_extension

* keybinding

* loottable

* musicdisc

* overlay

* painting

* recipe

* structure

* villagertrades

* Create custom_property_name.md (#7)

add

* add (#6)

add new help tip!!!!!!

* chinese translation fix and add some external link (#4)

* fix

* Update generation_shape.md

* Update harvest_level.md

* Update coverage_estimate.md

* Update default_features.md

* Update toughness.md

* update zh_TW

* amend biome

* block

* common

* dimension

* enchantment

* entity

* fluid

* gui

* item

* painting

* particle

* recipe

* Update category.md (#8)

* plant

* Update gen_height.md

* Update is_bonemealable.md

* Update gen_height.md

* Update gen_height.md

---------

Co-authored-by: Jin1358 <126249552+Jin1358@users.noreply.github.com>
Co-authored-by: cdc <63762187+cdc12345@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants