mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update for latest MCProtocolLib
This commit is contained in:
parent
dac5f69d47
commit
c34f0f2c3b
2 changed files with 4 additions and 4 deletions
|
@ -53,13 +53,13 @@ public class ArmorItem extends Item {
|
||||||
ArmorTrim trim = components.get(DataComponentType.TRIM);
|
ArmorTrim trim = components.get(DataComponentType.TRIM);
|
||||||
if (trim != null) {
|
if (trim != null) {
|
||||||
// discard custom trim patterns/materials to prevent visual glitches on bedrock
|
// discard custom trim patterns/materials to prevent visual glitches on bedrock
|
||||||
if (trim.getMaterial().isCustom() || trim.getPattern().isCustom()) {
|
if (trim.material().isCustom() || trim.pattern().isCustom()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO material IDs
|
// TODO material IDs
|
||||||
String material = trim.getMaterial().getCustomValue().getAssetName();
|
String material = trim.material().custom().assetName();
|
||||||
String pattern = trim.getPattern().getCustomValue().getAssetId();
|
String pattern = trim.pattern().custom().assetId();
|
||||||
|
|
||||||
NbtMapBuilder trimBuilder = NbtMap.builder();
|
NbtMapBuilder trimBuilder = NbtMap.builder();
|
||||||
// bedrock has an uppercase first letter key, and the value is not namespaced
|
// bedrock has an uppercase first letter key, and the value is not namespaced
|
||||||
|
|
|
@ -15,7 +15,7 @@ protocol-connection = "3.0.0.Beta1-20240411.165033-128"
|
||||||
raknet = "1.0.0.CR3-20240416.144209-1"
|
raknet = "1.0.0.CR3-20240416.144209-1"
|
||||||
blockstateupdater="1.20.80-20240411.142413-1"
|
blockstateupdater="1.20.80-20240411.142413-1"
|
||||||
mcauthlib = "d9d773e"
|
mcauthlib = "d9d773e"
|
||||||
mcprotocollib = "8bc6990525" # Revert from jitpack after release
|
mcprotocollib = "4ee05b62" # Revert from jitpack after release
|
||||||
adventure = "4.14.0"
|
adventure = "4.14.0"
|
||||||
adventure-platform = "4.3.0"
|
adventure-platform = "4.3.0"
|
||||||
junit = "5.9.2"
|
junit = "5.9.2"
|
||||||
|
|
Loading…
Reference in a new issue