Class
net.minecraft.entity.mob.PiglinBrain
This description should be content pulled from the first comments of a lua file.
Static Fields
userdata, Item | PiglinBrain.BARTERING_ITEM | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
int | PiglinBrain.field_30565 | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
int | PiglinBrain.field_30566 | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
PiglinBrain.angerAtCloserTargets(piglin, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.angerNearbyPiglins(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.becomeAngryWith(piglin, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.canGather(piglin, stack) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.consumeOffHandItem(piglin, barter) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.create(piglin, brain) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.getAvoiding(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.getCurrentActivitySound(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.getNearestDetectedPlayer(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.hasIdleActivity(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.haveHuntedHoglinsRecently(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.isGoldHoldingPlayer(target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.isGoldenItem(stack) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.isWillingToTrade(piglin, nearbyItems) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.isZombified(entityType) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.loot(piglin, drop) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.onAttacked(piglin, attacker) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.onGuardedBlockInteracted(player, blockOpen) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.pickupItemWithOffHand(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.playerInteract(piglin, player, hand) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.rememberGroupHunting(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.rememberHunting(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.setHuntedRecently(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.tickActivities(piglin) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.tryRevenge(piglin, target) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
PiglinBrain.wearsGoldArmor(entity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Constructors
PiglinBrain() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
instance:equals(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getClass() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hashCode() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notify() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notifyAll() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:toString() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0, arg1) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
- PiglinBrain.angerAtCloserTargets(piglin, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.angerNearbyPiglins(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.becomeAngryWith(piglin, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.canGather(piglin, stack)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.consumeOffHandItem(piglin, barter)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- barter boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.create(piglin, brain)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- brain userdata, Brain This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Brain This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.getAvoiding(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.getCurrentActivitySound(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.getNearestDetectedPlayer(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.hasIdleActivity(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.haveHuntedHoglinsRecently(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.isGoldHoldingPlayer(target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.isGoldenItem(stack)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- stack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.isWillingToTrade(piglin, nearbyItems)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- nearbyItems userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.isZombified(entityType)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entityType userdata, EntityType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.loot(piglin, drop)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- drop userdata, ItemEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.onAttacked(piglin, attacker)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- attacker userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.onGuardedBlockInteracted(player, blockOpen)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- blockOpen boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.pickupItemWithOffHand(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.playerInteract(piglin, player, hand)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- player userdata, PlayerEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- hand userdata, Hand This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, ActionResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- PiglinBrain.rememberGroupHunting(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.rememberHunting(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.setHuntedRecently(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.tickActivities(piglin)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, PiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.tryRevenge(piglin, target)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- piglin userdata, AbstractPiglinEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- target userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- PiglinBrain.wearsGoldArmor(entity)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
Constructors
- PiglinBrain()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Instance Methods
- instance:equals(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getClass()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hashCode()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:notify()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:notifyAll()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:toString()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:wait()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:wait(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:wait(arg0, arg1)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"