Uses of Enum Class
net.neoforged.neoforge.event.entity.player.PlayerSpawnPhantomsEvent.Result
Packages that use PlayerSpawnPhantomsEvent.Result
-
Uses of PlayerSpawnPhantomsEvent.Result in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as PlayerSpawnPhantomsEvent.ResultModifier and TypeFieldDescriptionprivate PlayerSpawnPhantomsEvent.ResultPlayerSpawnPhantomsEvent.resultMethods in net.neoforged.neoforge.event.entity.player that return PlayerSpawnPhantomsEvent.ResultModifier and TypeMethodDescriptionPlayerSpawnPhantomsEvent.getResult()Returns the result of this event, which controls if a spawn attempt will be made.Returns the enum constant of this class with the specified name.static PlayerSpawnPhantomsEvent.Result[]PlayerSpawnPhantomsEvent.Result.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.neoforged.neoforge.event.entity.player with parameters of type PlayerSpawnPhantomsEvent.ResultModifier and TypeMethodDescriptionvoidPlayerSpawnPhantomsEvent.setResult(PlayerSpawnPhantomsEvent.Result result) Changes the result of this event, which controls if a spawn attempt will be made.