mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 14:59:27 +00:00
Support 1.21.93
This commit is contained in:
@@ -15,7 +15,7 @@ The ultimate goal of this project is to allow Minecraft: Bedrock Edition users t
|
||||
Special thanks to the DragonProxy project for being a trailblazer in protocol translation and for all the team members who have joined us here!
|
||||
|
||||
## Supported Versions
|
||||
Geyser is currently supporting Minecraft Bedrock 1.21.70 - 1.21.92 and Minecraft Java 1.21.7. For more information, please see [here](https://geysermc.org/wiki/geyser/supported-versions/).
|
||||
Geyser is currently supporting Minecraft Bedrock 1.21.70 - 1.21.93 and Minecraft Java 1.21.7. For more information, please see [here](https://geysermc.org/wiki/geyser/supported-versions/).
|
||||
|
||||
## Setting Up
|
||||
Take a look [here](https://geysermc.org/wiki/geyser/setup/) for how to set up Geyser.
|
||||
|
||||
@@ -49,7 +49,8 @@ public final class GameProtocol {
|
||||
* release of the game that Geyser supports.
|
||||
*/
|
||||
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = CodecProcessor.processCodec(Bedrock_v818.CODEC.toBuilder()
|
||||
.minecraftVersion("1.21.90")
|
||||
.minecraftVersion("1.21.93")
|
||||
.protocolVersion(819) // we love unannounced proto bumps
|
||||
.build());
|
||||
|
||||
/**
|
||||
@@ -70,6 +71,9 @@ public final class GameProtocol {
|
||||
SUPPORTED_BEDROCK_CODECS.add(CodecProcessor.processCodec(Bedrock_v800.CODEC.toBuilder()
|
||||
.minecraftVersion("1.21.80 - 1.21.84")
|
||||
.build()));
|
||||
SUPPORTED_BEDROCK_CODECS.add((CodecProcessor.processCodec(Bedrock_v818.CODEC.toBuilder()
|
||||
.minecraftVersion("1.21.90 - 1.21.92")
|
||||
.build())));
|
||||
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
|
||||
}
|
||||
|
||||
|
||||
@@ -145,6 +145,13 @@ public class ItemRegistryPopulator {
|
||||
paletteVersions.add(new PaletteVersion("1_21_70", Bedrock_v786.CODEC.getProtocolVersion(), itemFallbacks));
|
||||
paletteVersions.add(new PaletteVersion("1_21_80", Bedrock_v800.CODEC.getProtocolVersion(), fallbacks1_21_80));
|
||||
paletteVersions.add(new PaletteVersion("1_21_90", Bedrock_v818.CODEC.getProtocolVersion(), Map.of(Items.MUSIC_DISC_LAVA_CHICKEN, Items.MUSIC_DISC_CHIRP)));
|
||||
paletteVersions.add(new PaletteVersion("1_21_93", 819, Map.of(), (item, mapping) -> {
|
||||
// FIXME do this in mappings
|
||||
if (item == Items.MUSIC_DISC_LAVA_CHICKEN) {
|
||||
return new GeyserMappingItem().withBedrockIdentifier("minecraft:music_disc_lava_chicken");
|
||||
}
|
||||
return mapping;
|
||||
}));
|
||||
|
||||
GeyserBootstrap bootstrap = GeyserImpl.getInstance().getBootstrap();
|
||||
|
||||
@@ -205,7 +212,12 @@ public class ItemRegistryPopulator {
|
||||
// Some items, e.g. food, are not component based but still have components
|
||||
NbtMap components = vanillaComponents.getCompound(entry.getName());
|
||||
if (components == null && entry.isComponentBased()) {
|
||||
throw new RuntimeException("Could not find vanilla components for vanilla component based item! " + entry.getName());
|
||||
// FIXME needs a proper item components file update
|
||||
if (!entry.getName().contains("lava_chicken")) {
|
||||
throw new RuntimeException("Could not find vanilla components for vanilla component based item! " + entry.getName());
|
||||
} else {
|
||||
components = NbtMap.EMPTY;
|
||||
}
|
||||
}
|
||||
|
||||
ItemDefinition definition = new SimpleItemDefinition(entry.getName().intern(), id, ItemVersion.from(entry.getVersion()), entry.isComponentBased(), components);
|
||||
|
||||
9048
core/src/main/resources/bedrock/creative_items.1_21_93.json
Normal file
9048
core/src/main/resources/bedrock/creative_items.1_21_93.json
Normal file
File diff suppressed because it is too large
Load Diff
10910
core/src/main/resources/bedrock/runtime_item_states.1_21_93.json
Normal file
10910
core/src/main/resources/bedrock/runtime_item_states.1_21_93.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -8,5 +8,5 @@ org.gradle.vfs.watch=false
|
||||
|
||||
group=org.geysermc
|
||||
id=geyser
|
||||
version=2.8.1-SNAPSHOT
|
||||
version=2.8.2-SNAPSHOT
|
||||
description=Allows for players from Minecraft: Bedrock Edition to join Minecraft: Java Edition servers.
|
||||
|
||||
Reference in New Issue
Block a user