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

Add back //flip and //rotate #253

Open
wants to merge 25 commits into
base: clipboard
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8b4fc87
Fix new users being unable to create selections
inxomnyaa Jul 9, 2022
fa49f46
Changed Selection constructor, fix crash upon loading session
inxomnyaa Jul 9, 2022
241ccdd
Make rotate go clockwise
inxomnyaa Jul 9, 2022
3c2be72
Replace 0 with World::Y_MIN for $y values
inxomnyaa Jul 9, 2022
c25fa18
Re-enable experimental //rotate command
inxomnyaa Jul 9, 2022
6f0e4e8
Remove method/line tracking var_dumps
inxomnyaa Jul 9, 2022
81e2aa4
Remove var_dump spam
inxomnyaa Jul 20, 2022
bfc4f32
Add basic debug stick state iteration
inxomnyaa Jul 22, 2022
c14de4a
v10.3.0: Debug stick state and value switching working
inxomnyaa Jul 24, 2022
81c4bc2
Session debug stick saving and restoring, updated translations
inxomnyaa Aug 5, 2022
ac4450c
Merge pull request #254 from thebigsmileXD/experiment/java-debug-stick
inxomnyaa Aug 5, 2022
68e1a28
Added WIP blockstate rotation code
inxomnyaa Aug 5, 2022
c64bdc3
Fix crash whilst parsing BlocksArgument
inxomnyaa Aug 29, 2022
e83b575
Make the help command actually useful (display command usage)
inxomnyaa Aug 31, 2022
397d9a2
Add blockstate rotation to schematics, use replaceBlockStateValues(),…
inxomnyaa Aug 31, 2022
ec157de
Fix fill, copy and paste tasks STEP 1
inxomnyaa Oct 3, 2022
f5f6d2e
Rotate is working correctly now
inxomnyaa Oct 3, 2022
4ba93d1
Cleanup (tests, comments and debugs); Catch and skip blockstate rotat…
inxomnyaa Oct 4, 2022
2f98a82
Fix async edits with other tasks, partially fix undo
inxomnyaa Oct 5, 2022
8e08010
Fix //undo with //cut2
inxomnyaa Oct 5, 2022
64e4fad
Fixed undo and redo
inxomnyaa Oct 5, 2022
5308f14
Fix replace and pasteasset
inxomnyaa Oct 5, 2022
dd31cb6
Shut up some phpstan errors
inxomnyaa Oct 5, 2022
7e7e523
Implement API::rotateStructure()
inxomnyaa Oct 14, 2022
a95bef4
Bump required libstructure version (0.3.0 rewrite)
inxomnyaa Oct 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .poggit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ projects:
version: ^4.3.4
branch: "4.0"
- src: thebigsmilexd/libstructure/libstructure
version: ^0.1.7
branch: libblockstate
version: ^0.3.0
branch: rewrite
- src: thebigsmilexd/libblockstate/libblockstate
version: ^0.0.1
version: ^0.1.2
branch: master
- src: Ifera/scorefactory/ScoreFactory
version: ^3.1.0
Expand Down
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: MagicWE2
main: xenialdan\MagicWE2\Loader
version: 10.2.2
version: 10.3.0
api: ["4.0.0"]
php: [ "8.0" ]
softdepend: [ "DEVirion" ]
Expand Down
14 changes: 8 additions & 6 deletions resources/lang/eng.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ session.language.set = "Successfully set language to {%0}"
session.language.notfound = "Language {%0} not found, resetting to default"
; task
task.copy.success = "Async Copy succeed, took {%0}, copied {%1} blocks out of {%2}."
task.paste.success = "Async Paste succeed, took {%0}, pasted {%1} blocks out of {%2}."
task.count.success = "Async analysing succeed, took {%0}"
task.count.result = "{%0} blocks found in a total of {%1} blocks"
task.fill.success = "Async Fill succeed, took {%0}, {%1} blocks out of {%2} changed."
Expand All @@ -78,12 +79,13 @@ tool.wand.lore.3 = "Use //togglewand to toggle it's functionality"
tool.wand.disabled = "The wand tool is disabled. Use //togglewand to re-enable it"
tool.wand.setenabled = "The wand tool is now {%0}!"
; debug tool
tool.debug = "Debug Tool"
tool.debug.lore.1 = "Left click a block to get information"
tool.debug.lore.2 = "like the name and damage values of a block"
tool.debug.lore.3 = "Use //toggledebug to toggle it's functionality"
tool.debug.disabled = "The debug tool is disabled. Use //toggledebug to re-enable it"
tool.debug.setenabled = "The debug tool is now {%0}!"
tool.debug = "Debug Stick"
tool.debug.lore.1 = "Left click a block to select a blockstate"
tool.debug.lore.2 = "Right click a block to advance the blockstate's value"
tool.debug.lore.3 = "Sneak to reverse the order"
tool.debug.lore.4 = "Use //toggledebug to toggle it's functionality"
tool.debug.disabled = "The debug stick is disabled. Use //toggledebug to re-enable it"
tool.debug.setenabled = "The debug stick is now {%0}!"
; WAILA tool (What am i looking at)
tool.waila = "Waila"
tool.waila.setenabled = "The Waila utility is now {%0}!"
Expand Down
218 changes: 175 additions & 43 deletions src/xenialdan/MagicWE2/API.php

Large diffs are not rendered by default.

Loading