16 lines
400 B
Java
16 lines
400 B
Java
package com.cursedcauldron.wildbackport.common.entities.access;
|
|
|
|
import java.util.Optional;
|
|
|
|
import net.minecraft.core.GlobalPos;
|
|
import net.minecraft.world.entity.player.Player;
|
|
|
|
public interface Recovery {
|
|
static Recovery of(Player player) {
|
|
return (Recovery) player;
|
|
}
|
|
|
|
Optional<GlobalPos> getLastDeathLocation();
|
|
|
|
void setLastDeathLocation(Optional<GlobalPos> location);
|
|
} |