Class
net.minecraft.entity.ai.goal.MeleeAttackGoal
This description should be content pulled from the first comments of a lua file.
Static Methods
MeleeAttackGoal.toGoalTicks(serverTicks) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Constructors
MeleeAttackGoal(mob, speed, pauseWhenMobIdle) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Fields
userdata, PathAwareEntity | instance.mob | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
instance:attack(target, squaredDistance) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:canStart() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:canStop() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
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:getControls() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getCooldown() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getMaxCooldown() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getSquaredMaxAttackDistance(entity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getTickCount(ticks) | 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:isCooledDown() | 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:resetCooldown() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setControls(controls) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:shouldContinue() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:shouldRunEveryTick() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:start() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:stop() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:tick() | 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
- MeleeAttackGoal.toGoalTicks(serverTicks)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- serverTicks int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
Constructors
- MeleeAttackGoal(mob, speed, pauseWhenMobIdle)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- mob userdata, PathAwareEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- speed number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- pauseWhenMobIdle boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Instance Methods
- instance:attack(target, squaredDistance)
-
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"
- squaredDistance number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:canStart()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:canStop()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- 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:getControls()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, EnumSet This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getCooldown()
-
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:getMaxCooldown()
-
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:getSquaredMaxAttackDistance(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:
number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getTickCount(ticks)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- ticks int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int 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:isCooledDown()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean 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:resetCooldown()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:setControls(controls)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- controls userdata, EnumSet This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:shouldContinue()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:shouldRunEveryTick()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:start()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:stop()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:tick()
-
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"