Commit Graph

97 Commits

Author SHA1 Message Date
tastybento
c30841440b Load all known templates when loading. 2023-03-10 18:53:52 -08:00
tastybento
4ea09eab68 Lots of improvements on structures 2023-03-10 11:21:51 -08:00
tastybento
d80035b8f2 Handle NBT items and with more structures placed 2023-03-05 14:38:04 -08:00
tastybento
af2ec9c483 Support rotation on loading 2023-03-05 08:15:16 -08:00
tastybento
8915ef18f1 Better structures 2023-03-04 22:35:44 -08:00
tastybento
a359f097b9 Added new admin command to place and record structures
This command will save the structure in the structures.yml file so that
it can be made when players make a new Box. Note that the server needs
to know about these before they can be loaded (API bug?) by issuing the
/place command or having had them load sometime previously in the
server, e.g., by going into a biome. Just needs to be done once.
2023-03-04 18:44:10 -08:00
tastybento
161b254d77 Remove Jigsaw blocks after pasting. 2023-03-04 16:38:35 -08:00
tastybento
c3e5d09283 Past structures when new area is made
WIP - needs to address Jigsaw blocks that are also pasted.
2023-03-04 09:53:16 -08:00
tastybento
77f182355e Merge branch 'develop' of https://github.com/BentoBoxWorld/Boxed.git
into develop
2023-02-11 08:32:58 -08:00
tastybento
b69206e032 Fix out of bounds error 2023-02-11 08:30:19 -08:00
tastybento
999a2cbb89 Shifted debug to warnings or errors 2023-01-29 22:23:16 -08:00
tastybento
e8033dc18f Fixed bugs. Currently only works with seed-start at 0,0 2023-01-29 22:20:58 -08:00
tastybento
54a559fc79 Removed debug 2023-01-02 20:25:15 -08:00
tastybento
af40f5e816 Added Nether Fortress advancement giver 2023-01-02 20:25:07 -08:00
tastybento
36a776945c Custom biomes and updated blueprint. 2022-12-24 10:37:57 -08:00
tastybento
f8e8656b86 Import cleanup 2022-12-21 20:43:59 -08:00
tastybento
8392af1913 Fix water below y=0 issue 2022-12-21 20:43:05 -08:00
tastybento
52a5aea3e0 Reorganizing generator classes 2022-12-21 11:11:50 -08:00
tastybento
4a675e0433 Custom biomes and vanilla biomes mixed
This covers the overworld. Next is to do the nether.
2022-12-21 11:09:16 -08:00
tastybento
c7880b355d WIP. 2022-12-17 08:39:27 -08:00
tastybento
d730ba725a Now with a block populator.
This helps copy over the blocks from the seed world that need extra
settings and also populates entities.
2022-12-11 10:31:43 -08:00
tastybento
739b1d5eab Performs nether 2022-12-09 20:22:06 -08:00
tastybento
e6026dca4f Copies directly from seed world and places structures 2022-12-03 21:41:56 -08:00
tastybento
12e1568c75 Added structure pasting - WIP
Does not work if chunks around the paste point are not loaded.
2022-12-03 09:40:08 -08:00
tastybento
29121d6fdb
Update to 1.19.2 with new custom world generator (#44)
* Baseline world gen. Random.

* Work in progress - noise gen needs fixing.

* WIP

* WIP - redesign to use new world gen API

Work still to do - handle island deletion (may not be supported) and
test with multiple players. Clean up config.

* Bug fixes

Added better handling of aquatic elements. Avoid informing players of
revoked achievements if the score is zero. Added the mangrove boat
recipe to be ignored.

* Add default score of unknown recipes

* Fixed some biomes

* Now with correct math for repeating islands

* Java 17 workflow for Github

* Put back what was accidentally removed.

* Code cleanup. Remove debug.

* Double for int calcs

* More code cleanup and using new switch syntax
2022-11-26 23:53:32 -08:00
tastybento
8b8dcfa236 Add an option to revoke visitor advancements or not
https://github.com/BentoBoxWorld/Boxed/issues/38
2021-12-11 16:31:47 -08:00
Katorly
9e300914d4
Create zh-CN.yml (#34)
Added zh(CN) language support for the plugin.
2021-10-04 22:43:21 -07:00
tastybento
3607c4bd60 Use correct API for setting home locations. 2021-10-01 19:13:53 -07:00
tastybento
4d0046fcdc Enderpearls were moving islandd centers in other worlds
https://github.com/BentoBoxWorld/Boxed/issues/31
2021-09-16 16:58:11 -07:00
tastybento
764402bdeb Renamed plugin Pladdon 2021-08-12 18:50:00 -07:00
tastybento
8ecc106f75 Removed exception 2021-07-31 11:05:55 -07:00
tastybento
2c6c59e4aa Make fields final 2021-07-31 11:05:40 -07:00
tastybento
2fe7df2824 JavaDoc fixes 2021-07-31 11:05:16 -07:00
tastybento
1c55fea7d5 Made fields local 2021-07-31 11:03:15 -07:00
tastybento
ec25abdea4 Improve code smells 2021-07-30 22:17:04 -07:00
tastybento
229dff6c55 Added tests for Settings. 2021-07-24 21:20:45 -07:00
tastybento
4b83e9b770 Added null checks. 2021-07-24 21:13:46 -07:00
tastybento
b897a71cd2 Added null checks. 2021-07-24 14:20:24 -07:00
tastybento
3077329848 Convert to Pladdon 2021-06-27 09:13:36 -07:00
tastybento
3b4dddf040 Java 16, BentoBox 1.17.0 2021-06-27 09:04:23 -07:00
tastybento
8747e9a6db Work with 1.17 WorldGeneratorAPI 2021-06-26 07:51:44 -07:00
tastybento
bde1fa97d6 Fixes issue where advancements were synced in the wrong world
When teleporting, the advancements were synced before the teleport
completed. This uses a different event.

https://github.com/BentoBoxWorld/Boxed/issues/26
2021-04-28 20:26:50 -07:00
tastybento
92d3a57362 Fixes issue where players lost a box size increment.
All boxes start with a minimum size of 1. This was not being included in
the box size calculation, so players were erroneously losing one box
size when they logged in or teleported.
2021-04-25 18:08:36 -07:00
tastybento
eb361a8579 Added spawn_here sign for nether blueprint. 2021-04-25 16:39:49 -07:00
tastybento
4079f2bdc0 Add two placeholders that list the number of advancements done for a box
%boxed_island_advancements% - the number of advancements for a
particular user
%boxed_visited_island_advancements% - the number of advancements based
on where the user is located.

If there is no box, the return value is "". Values are still given if
the player is outside the protected area but inside the overall
potential box size.

Only advancements that were not automatically given are counted.


https://github.com/BentoBoxWorld/Boxed/issues/20
2021-04-25 16:03:37 -07:00
tastybento
d30502c72b Save settings after loading.
https://github.com/BentoBoxWorld/BSkyBlock/issues/401
2021-04-25 11:12:07 -07:00
tastybento
c404c9a1ae Fixes bug where new boxes had their protection size reduced to 0 2021-04-24 08:15:32 -07:00
tastybento
19356d6e68 Adds a check that will run on login and other times to set the box size
Runs through the advancements that island has and corrects the size of
the box. This enables admins to adjust the value of advancements after
the fact and players will still benefit (or be nerfed) from the changes.
2021-04-18 15:40:51 -07:00
tastybento
e8aeb0b31d Fixed bug where team members did not yield advancements immediately.
After teleporting back to the island, the team would get them.

https://github.com/BentoBoxWorld/Boxed/issues/19
2021-04-18 14:36:52 -07:00
tastybento
d997b391a9 Exploit fix. Coops could gift advancements to others.
Fixes https://github.com/BentoBoxWorld/Boxed/issues/18
2021-04-09 22:24:52 -07:00