Class SkullBlockEntityTranslator
java.lang.Object
org.geysermc.geyser.translator.level.block.entity.BlockEntityTranslator
org.geysermc.geyser.translator.level.block.entity.SkullBlockEntityTranslator
- All Implemented Interfaces:
RequiresBlockState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<com.github.steveice10.mc.auth.data.GameProfile>
getProfile(com.github.steveice10.opennbt.tag.builtin.CompoundTag tag)
static void
spawnPlayer(GeyserSession session, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, int posX, int posY, int posZ, int blockState)
void
translateTag(com.nukkitx.nbt.NbtMapBuilder builder, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, int blockState)
Methods inherited from class org.geysermc.geyser.translator.level.block.entity.BlockEntityTranslator
getBlockEntityTag, getConstantBedrockTag, getOrDefault
-
Constructor Details
-
SkullBlockEntityTranslator
public SkullBlockEntityTranslator()
-
-
Method Details
-
translateTag
public void translateTag(com.nukkitx.nbt.NbtMapBuilder builder, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, int blockState)- Specified by:
translateTag
in classBlockEntityTranslator
-
getProfile
public static CompletableFuture<com.github.steveice10.mc.auth.data.GameProfile> getProfile(com.github.steveice10.opennbt.tag.builtin.CompoundTag tag) -
spawnPlayer
public static void spawnPlayer(GeyserSession session, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, int posX, int posY, int posZ, int blockState)
-