Package net.neoforged.neoforge.debug.entity.player
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.debug.entity.player
-
ClassDescriptionTests if item usage animation system works as intended.Tests if the patch to PlayerEntity to make it utilize Attributes.ATTACK_KNOCKBACK works The Knockback Sword adds a modifier to the user's attack knockback The goal of this patch is to allow modders to more easily add equipment or potion effects that affect the attack knockback of players As well as allow command users to modify this attribute for a playerTests
PlayerNegotiationEvent
by listening for and then enqueuing work to be done asynchronously, details regarding the work execution is printed out and exceptions are thrown to ensure proper handling.This tests forPlayerSpawnPhantomsEventTest
and fires when the normal Phantom Spawns could occur.This tests forTradeWithVillagerEvent
and fires when the player completes a trade with either a Villager or WanderingTrader(must inherit from AbstractVillager).Test mod for theUseItemOnBlockEvent
.