Contents
Class ExitInstance
java.lang.Object
com.hypixel.hytale.builtin.instances.config.ExitInstance
- All Implemented Interfaces:
RespawnController
A respawn controller that exits the player from the current instance that they are in
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<ExitInstance> The codec used for parsingExitInstanceinstances -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrespawnPlayer(World world, Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> commandBuffer) Called upon re-spawning the given player
-
Field Details
-
CODEC
The codec used for parsingExitInstanceinstances
-
-
Constructor Details
-
ExitInstance
public ExitInstance()
-
-
Method Details
-
respawnPlayer
public CompletableFuture<Void> respawnPlayer(@Nonnull World world, @Nonnull Ref<EntityStore> playerReference, @Nonnull ComponentAccessor<EntityStore> commandBuffer) Description copied from interface:RespawnControllerCalled upon re-spawning the given player- Specified by:
respawnPlayerin interfaceRespawnController- Parameters:
world- The affiliatedWorldinstanceplayerReference- The entity reference of the associated playercommandBuffer- The command buffer for component access
-