mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Enable 1.21 experimental features
This commit is contained in:
parent
c7da8fe163
commit
701e567818
2 changed files with 5 additions and 0 deletions
|
@ -232,6 +232,9 @@ public class UpstreamPacketHandler extends LoggingPacketHandler {
|
|||
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);
|
||||
break;
|
||||
|
||||
|
|
|
@ -1544,6 +1544,8 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||
startGamePacket.getExperiments().add(new ExperimentData("upcoming_creator_features", true));
|
||||
// Needed for certain molang queries used in blocks and items
|
||||
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.setInventoriesServerAuthoritative(true);
|
||||
|
|
Loading…
Reference in a new issue