Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Enable 1.21 experimental features
Dieser Commit ist enthalten in:
Ursprung
c7da8fe163
Commit
701e567818
@ -232,6 +232,9 @@ public class UpstreamPacketHandler extends LoggingPacketHandler {
|
|||||||
stackPacket.getExperiments().add(new ExperimentData("data_driven_items", true));
|
stackPacket.getExperiments().add(new ExperimentData("data_driven_items", true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Required for experimental 1.21 features
|
||||||
|
stackPacket.getExperiments().add(new ExperimentData("updateAnnouncedLive2023", true));
|
||||||
|
|
||||||
session.sendUpstreamPacket(stackPacket);
|
session.sendUpstreamPacket(stackPacket);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -1544,6 +1544,8 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||||||
startGamePacket.getExperiments().add(new ExperimentData("upcoming_creator_features", true));
|
startGamePacket.getExperiments().add(new ExperimentData("upcoming_creator_features", true));
|
||||||
// Needed for certain molang queries used in blocks and items
|
// Needed for certain molang queries used in blocks and items
|
||||||
startGamePacket.getExperiments().add(new ExperimentData("experimental_molang_features", true));
|
startGamePacket.getExperiments().add(new ExperimentData("experimental_molang_features", true));
|
||||||
|
// Required for experimental 1.21 features
|
||||||
|
startGamePacket.getExperiments().add(new ExperimentData("updateAnnouncedLive2023", true));
|
||||||
|
|
||||||
startGamePacket.setVanillaVersion("*");
|
startGamePacket.setVanillaVersion("*");
|
||||||
startGamePacket.setInventoriesServerAuthoritative(true);
|
startGamePacket.setInventoriesServerAuthoritative(true);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren