Package de.teamlapen.werewolves.util
Class FormHelper
java.lang.Object
de.teamlapen.werewolves.util.FormHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeactivateWerewolfActions(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player) static Optional<WerewolfFormAction>getActiveFormAction(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) static de.teamlapen.werewolves.api.entities.werewolf.WerewolfFormgetForm(net.minecraft.world.entity.LivingEntity entity) static booleanisFormActionActive(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player) static booleanisInWerewolfBiome(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos) static voidreload()
-
Constructor Details
-
FormHelper
public FormHelper()
-
-
Method Details
-
reload
public static void reload() -
isInWerewolfBiome
public static boolean isInWerewolfBiome(net.minecraft.world.level.LevelAccessor world, net.minecraft.core.BlockPos pos) -
getForm
public static de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm getForm(net.minecraft.world.entity.LivingEntity entity) -
isFormActionActive
public static boolean isFormActionActive(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player) -
getActiveFormAction
public static Optional<WerewolfFormAction> getActiveFormAction(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) -
deactivateWerewolfActions
public static void deactivateWerewolfActions(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
-