public class DiedInPortalSystem extends DeathSystems.OnDeathSystem
System for handling diedinportal mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > DeathSystems.OnDeathSystem > DiedInPortalSystem
Field Summary
portalWorld
final
PortalWorld
portalWorld
Field portalWorld.
playerId
final
UUID
playerId
Field playerId.
player
final
Player
player
Field player.
Method Detail
onComponentAdded
public
void
onComponentAdded
(@Nonnull final Ref ref, @Nonnull final DeathComponent component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@Nonnull final Refref@Nonnull final DeathComponentcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer