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

API10 - MC 1.19.2 Overview #2447

Closed
wants to merge 138 commits into from
Closed

API10 - MC 1.19.2 Overview #2447

wants to merge 138 commits into from

Conversation

Faithcaio
Copy link
Contributor

@Faithcaio Faithcaio commented Nov 1, 2022

SpongeAPI | Sponge

see #2433 for previous work

Chat/Messages/Commands

KyoriPowered/adventure#765 / KyoriPowered/adventure#777

  • Signed Text Messages (pending Adventure Library Update)
  • ChatType (pending Adventure Library Update)
  • interface for signed message
  • command parameter for signed message

Datapacks

missing API DataPackTypes:

  • game_event tag + registry
  • loot_tables
  • worldgen/world_preset (not needed?)
  • worldgen/flat_level_generator_preset (not needed?)

Inventory

  • deprecate Inventory#get with child?
  • containsInventory might not work
  • ContainerTypes missing inventories?
  • Entity dependent Container Creation (horse/villager)

Entity

  • missing entity categories

Keys Refactor

The Keys class is getting quite big. Should we separate them depending on what they apply to.
These might contain duplicates as Keys like DISPLAY_NAME apply to many things.
e.g.

  • Entity
  • Block
  • World
  • etc.

Other

-[ ] setting TradeOfferGenerators for Villagers

ImMorpheus and others added 30 commits May 9, 2022 00:07
BiomeTemplate/Builder impl
switch to using data in WorldTypeTemplate.Builder
Template toContainer impl
move some of the DataPackType serialization into template impl
missed BiomeData
make Biome ClimateSettings accessible
fix saving level.dat for other worlds
weather data
We can now save custom biomes and use them (after a restart)
seed on WorldTemplate
rework BiomeProviders
BiomeAttributes with ranges
provide FlatGeneratorConfig Presets
provide NoiseConfig Presets
provide NoiseGeneratorConfig Presets
NoiseGeneratorConfigTemplate
provide vanilla SurfaceRules
expose StructureSet
expose NoiseRouter
NoiseRouter
DensityFunction+Template
javadocs
Add StructureTypes and JigsawPools
Template for Structure and Schematic (from vanilla structures nbt files)
Biome is Taggable
fix relative position translator
ImMorpheus and others added 29 commits April 2, 2023 05:40
consistent with implementation and last remaining bits of guava removed
catalog types are generated and the generator takes care of sorting
* Add stream online players method

* run spotless apply
* fix nullability issues

* add missing package-info files

* more nullability fixes

* more nullability fixes

* fix missorted modifier

* run spotless apply
Historically we considered the Minecraft protocol versions as
"implementation detail" that should not be exposed in SpongeAPI.

However, since the addition of the status ping API 8 years ago the
protocol version still exists exactly the same way, and there are
use cases for checking it (identifying the exact client version) and
modifying it (making the server appear as incompatible to clients).

Right now plugins have to resort to using implementation-specific code
for this, which is complicated and now hopelessly broken for api-10
(due to internal changes in the Minecraft code).

Make it possible to check and modify the server version to fix this
once and for all.
unused after the removal of the world migrator
This exception was previously thrown by buildAndRegister method.
After the data API refactor the exception is unused and never thrown.
Remove the exception and update the documentation
previously used for text and command tests, now unused.
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
@ImMorpheus ImMorpheus closed this Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: 10 version: 1.19
Projects
None yet
Development

Successfully merging this pull request may close these issues.