Commit Graph

860 Commits

Author SHA1 Message Date
Octavia Togami
0790e6e5d8
Fix CLI Mess (#1811)
* Fix CLI awfulness

* Fix indentation

* Licenses
2021-07-01 09:44:44 -07:00
Octavia Togami
fbb047a0c1
Optimize legacy schematic loading (#1808)
* Optimize legacy schematic loading

* Be more DRY
2021-06-30 17:02:10 -07:00
Matt
f91e8e4071
Fixed incorrect version numbers in javadocs (#1810) 2021-06-30 12:11:23 -07:00
Octavia Togami
728a152395
Skip notify if chunk section doesn't exist (#1794)
* Skip notify if chunk section doesn't exist

* Include forge in this change

* Pass chunk to mark/notify directly, update adapters.

Co-authored-by: wizjany <wizjany@gmail.com>
2021-06-26 14:59:21 -07:00
Octavia Togami
043c3315aa
Fix Scuffed POMs (#1779)
* Repair fabric POM

* Fix-up a ton of publishing errors

* Remove shadow jar from publishing

* Remove shadow application from platform/core
2021-06-13 11:32:38 -07:00
Octavia Togami
e2ad0427ef
Update bundled language files 2021-06-12 00:45:38 -07:00
Octavia Togami
3393d2701c
Try require for snake yaml 2021-06-11 14:46:10 -07:00
Octavia Togami
4d6c1973f3
Parallelize tests properly 2021-06-11 14:12:09 -07:00
Octavia Togami
a0a3e0f5f1
De-parameterize vector tests 2021-06-11 13:58:58 -07:00
Octavia Togami
8cc6e7159b
Allow upgrading snakeyaml 2021-06-11 12:45:38 -07:00
Octavia Togami
c8e5f277c1
Update MCUtils for 1.17 (#1774)
* Update MCUtils for 1.17

* Re-add deprecated grass_path
2021-06-11 12:38:22 -07:00
Octavia Togami
7676a2d54c
[Fabric] Update to 1.17 (#1772) 2021-06-08 19:18:24 -07:00
Octavia Togami
95160027d9
Register platforms and commands in a more proper way (#1766)
* Register platforms and commands in a more proper way

Platforms are now register "on load"/initialize/etc., and preferreds are
chosen just prior to command registration events. This allows us to
properly hook in to reload. Additionally, we now have the capability to
reload data with /minecraft:reload, though this is not yet implemented.

* Correct javadocs on queryCapability

* Flatten BukkitImplAdapter Lifecycled
2021-06-04 17:12:23 -07:00
Octavia Togami
5a7cbfd6ef
Fix selecting at 0,0,0 or radius 0 cyl/ellipse (#1734) 2021-05-23 23:37:24 -07:00
Octavia Togami
876108fdb3
Prepare for Gradle 7, but due to FG only get to 6.9
Gradle 7 stuff requires FG 5. Phooey.
2021-05-13 22:01:45 -07:00
Octavia Togami
98adde2c88
Allow toggleplace to work on any Actor + Locatable (#1723) 2021-04-09 20:07:11 -07:00
Octavia Togami
c7da4c0ade
Swap out logback for log4j2 2021-04-05 10:50:39 -07:00
wizjany
acf9c3b2e1
Change oak stair shape to straight in legacy.json. 2021-04-05 09:22:51 -04:00
Octavia Togami
609c7b8cc4
Scrapped Logging Framework 4 Java (#1715)
* The scramble is complete

* Fix version decl for Bukkit Log4J

* Swap out to a compatibility layer for LogManager

Slightly slower, but compatible across all Java versions

* Piston released with SL4JF removal

* Clean up declarations a bit
2021-03-28 20:35:48 -07:00
wizjany
acd63daddf
Slightly improve usability of LocalSession#getSelection. (#1714)
Allow the World param to be null, throwing IncompleteRegionException.

This allows calling `getSelection(getSelectionWorld())` without having
to separately null-check the World.
Also, add a convenience overload which does so: `getSelection()`.
2021-03-25 00:06:05 -04:00
Matthew Miller
4cd7dc4bcd
Ignore suggestions when uppercase characters are used in props (#1705) 2021-03-13 15:57:03 +10:00
Octavia Togami
7d06279249
Attempt to fix FSSD test with weird win paths (#1699) 2021-03-10 12:35:35 -08:00
Matthew Miller
d3810865c8
Show a message with install instructions when running the jar file (#1682)
* Show a message with install instructions when running the jar file

* Typo

* Fixed checkstyle issue

* Slightly modify message to adapt to the type of install

* Clean up the display code a lot

* Allow line breaks before semi

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-02-22 22:05:23 -08:00
Octavia Togami
e94f082b07
Improve speed of BlockState init, tick watchdog (#1680) 2021-02-17 11:22:35 -08:00
Octavia Togami
9534a9cfce
Update so many dependencies, merge Forge/Fabric for final jar (#1651)
* Update so many dependencies, merge Forge/Fabric for final

* Clean up contrib docs for Gradle change

* Fix setting compat flags while using toolchain

* Fix deprecation in doc printer

* Restore proper forge JAR name

* Add dist classifier for mod jar

* Properly relocate new bStats

* Fix jar used from fabric

* Fix fabric bom

* Dup the shaded classes for consistency

* Sync Forge/Fabric log4j versions, de-dup

* Downgrade both log4j. This will work

* Update some plugins as well

* Drop the fabric force stuff

* Use duplicate strategy to directly merge jar
2021-01-25 02:14:09 -08:00
zml
0036e06f89
Alter the CUI lifecycle to be more consistent and reliable (#1633)
* Alter the CUI lifecycle to be more consistent

This handling reduces the platform-specific behaviour of CUI handshakes,
and ensures that the appropriate state is maintained when a client
connection ends but a LocalSession remains cached.

* Apply review suggestions

* fabric: Update to new networking API

* session: Correct field grouping for cui attempts
2021-01-16 13:07:29 +10:00
zml
f04ae2f1ec
Correct ellipsoidal selector initialization (#1632)
When the previous selection was a non-ellipsoidal region, the
started flag would not be appropriately set until a new selection
had been started.
2021-01-09 20:01:36 -08:00
Matthew Miller
98c4580db9
Fix SideEffectSet.none() being the default set (#1620)
* Fix SideEffectSet.none() being the default set

* Remove the unnecessary private empty constructor for SideEffectSet

* Back to ImmutableMap.of
2020-12-22 14:48:22 +10:00
Hannes Greule
544793d541 Properly repeat extents for negative coordinates
An extent's content was returned flipped when applied for negative positions, as e.g. `Math.abs(-2) % 3` returns 2 instead of 1 (as 1 + -1 * 3 = -2)

(cherry picked from commit b0cf5dd2bf1b9bcbf1c7efff0fe25de7ee9a2090)
2020-12-11 12:48:33 -08:00
Matthew Miller
15cba009f4
Persist default state of selwand and navwand in session (#1600)
* Persist default state of selwand and navwand in session

* Fixed some issues with the way it retained info

* Fixed it setting the wrong item

* A little cleaner

* I somewhat misunderstood the way this system worked - This is cleaner and works a lot better

* Replace with octy-approved UX

* Improve logic for default wand loading

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-12-09 15:03:42 +10:00
Octavia Togami
d0e6f9f33b Always load internal strings.json for default locale 2020-11-29 17:20:32 -08:00
Octavia Togami
be4d8a0839
Update language bundle 2020-11-28 15:08:43 -08:00
wizjany
d6b42a4816
Add instructions for unbinding tools/brushes on equip. (#1595)
* Add unbind instructions to tool/brush commands.

* Switch to suggest.

* Make component final.

* Start suggesting the unbind alias instead.
2020-11-28 09:13:03 -05:00
Octavia Togami
cc1f530aa4 Add the missing y variable to generate biome 2020-11-18 16:14:35 -08:00
Octavia Togami
4999018f36
Lower-case wand items on retrival from the config 2020-11-09 18:57:54 -08:00
Octavia Togami
0f6d52e07f
Fix javadoc for OffsetsMask 2020-11-02 15:08:14 -08:00
Octavia Togami
d742c0fe0c Move archive unpack into WE working dir 2020-10-31 02:02:09 -07:00
Octavia Togami
a615e01181
Use the new lang version format 2020-10-20 14:38:08 -07:00
Octavia Togami
367d95c6c3
Ensure that the wand can be used before giving it (#1566)
* Ensure that the wand can be used before giving it

* Add a note to //wand about new perm requirements

* It's an item, not an "object"

* Fix checkstyle
2020-10-18 12:28:28 -07:00
Octavia Togami
5876f18422
Fix licenses in doc files 2020-10-18 11:58:47 -07:00
Octavia Togami
a2243be3dc
Actually overwrite existing files in archiveunpack
Fixes #1567
2020-10-18 11:44:04 -07:00
Octavia Togami
f449e55f98
Update doc printer for lang changes 2020-10-17 22:32:27 -07:00
Octavia Togami
83e744bae2 Fix loading dev i18n files
This forces the repo file to FULLY OVERRIDE the default locale. Nothing
will be loaded from the default locale in either the config folder, or
the i18n dependency.
2020-10-17 14:55:10 -07:00
Octavia Togami
56182ad079 Make /toggleeditwand translatable 2020-10-17 14:00:10 -07:00
Octavia Togami
e320833961 Use /tool in /toggleeditwand description 2020-10-17 14:00:10 -07:00
Matthew Miller
28bdf7ff92
Add ^x,y,z relative offset support to the offset parser (#1545)
* Add ^x,y,z relative offset support to the offset parser

* Wrap in a try-catch
2020-10-10 15:49:13 +10:00
Octavia Togami
6073f6564d
Fix license/checkstyle 2020-10-09 12:11:58 -07:00
Octavia Togami
c2d818245e
Only use POSIX perms if supported 2020-10-09 12:01:04 -07:00
Octavia Togami
bc64990e7e
Move to packaged translations (#1555)
* Move to packaged translations

* License that file

* Fix some checkstyle too

* Support reloading translation files

* Add missing dash for unpack directory

* Mark unpacked zips as owner-only
2020-10-08 17:42:23 -07:00
Lewis B
beb784e0ff
Add -w flag to butcher for water mobs (#1548)
* Add -w flag to butcher for water mobs

* PR feedback
2020-10-05 13:50:20 +10:00