Commit Graph

84 Commits

Author SHA1 Message Date
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
tastybento
1e962f93d0 Code smell reduction. 2021-03-28 20:59:51 -07:00
tastybento
04ab9ae381 Enable Nether biomes via biomes.yml config. 2021-03-28 17:12:50 -07:00
tastybento
8f109d57ff Moved overworld biome placement definition to biome.yml config file 2021-03-28 14:04:25 -07:00
tastybento
48d6850731 Fix bug where structures were not made like Bastions and villages
Extended default island distance to 1000 radius to increase chance of
players getting these structures.
2021-03-28 12:56:46 -07:00
tastybento
acd2fc1ad3 Make the edges Nether Wastes 2021-03-28 08:52:56 -07:00
tastybento
d49b9dc9cd More attractive nether. 2021-03-27 19:07:55 -07:00
tastybento
7b345253c7 Initial Nether implementation. 2021-03-23 21:45:52 -07:00
tastybento
769d4af4bd Correct version reference. 2021-03-21 16:13:33 -07:00
tastybento
1e65b76ccf Added option to broadcast advancement completion to online players. 2021-03-21 09:33:54 -07:00
tastybento
c39ded9e16 Handles default root advancement scoring and better presentation. 2021-03-20 10:20:21 -07:00
tastybento
c7473785df Adds a default box change setting for unknown advancements.
Makes adding custom advancement datapacks easier because the default
advancement reward will be to increase the box by 1.
2021-03-20 09:49:34 -07:00
tastybento
cac0c64654 Require BentoBox 1.16.1 2021-03-20 09:38:52 -07:00
tastybento
253fcf6483 Use BentoBox 1.16.1
Removed unused class.
2021-03-20 08:09:52 -07:00