Update to Minecraft 1.19

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2022-06-08 02:00:00 +10:00
parent 91d9aa9a89
commit 25f3b50f6b
332 changed files with 3628 additions and 2559 deletions

View File

@@ -15,8 +15,8 @@
+ // CraftBukkit end
villageplace.ensureLoadedAndValid(this.level, blockposition, i);
Optional<VillagePlaceRecord> optional = villageplace.getInSquare((villageplacetype) -> {
return villageplacetype == VillagePlaceType.NETHER_PORTAL;
Optional<VillagePlaceRecord> optional = villageplace.getInSquare((holder) -> {
return holder.is(PoiTypes.NETHER_PORTAL);
}, blockposition, i, VillagePlace.Occupancy.ANY).filter((villageplacerecord) -> {
return worldborder.isWithinBounds(villageplacerecord.getPos());
- }).sorted(Comparator.comparingDouble((villageplacerecord) -> {