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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<com.github.steveice10.mc.auth.data.GameProfile>getProfile(com.github.steveice10.opennbt.tag.builtin.CompoundTag tag)static voidspawnPlayer(GeyserSession session, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, int posX, int posY, int posZ, int blockState)voidtranslateTag(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:
translateTagin 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)
-