Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Some final touches
Dieser Commit ist enthalten in:
Ursprung
f046ef52f1
Commit
e2e4fb2b3c
@ -43,11 +43,12 @@ public class EndGatewayBlockEntityTranslator extends BlockEntityTranslator {
|
|||||||
// Java sometimes does not provide this tag, but Bedrock crashes if it doesn't exist
|
// Java sometimes does not provide this tag, but Bedrock crashes if it doesn't exist
|
||||||
// Linked coordinates
|
// Linked coordinates
|
||||||
List<IntTag> tagsList = new ArrayList<>();
|
List<IntTag> tagsList = new ArrayList<>();
|
||||||
|
// Yes, the axis letters are capitalized
|
||||||
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "X")));
|
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "X")));
|
||||||
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "Y")));
|
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "Y")));
|
||||||
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "Z")));
|
tagsList.add(new IntTag("", getExitPortalCoordinate(tag, "Z")));
|
||||||
com.nukkitx.nbt.tag.ListTag<IntTag> exitPortal =
|
com.nukkitx.nbt.tag.ListTag<IntTag> exitPortal =
|
||||||
new com.nukkitx.nbt.tag.ListTag<>("ExitPortal", com.nukkitx.nbt.tag.IntTag.class, tagsList);
|
new com.nukkitx.nbt.tag.ListTag<>("ExitPortal", IntTag.class, tagsList);
|
||||||
tags.add(exitPortal);
|
tags.add(exitPortal);
|
||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren