Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Using "Attack" to damage entities - MalmoEnv #1024

Open

Description

I'm having trouble issuing commands that deal damage to entities while using the malmoenv package. Specifically, if I use the "attack" command, my agent will be able to break the block in front of it. But, the agent cannot deal damage to a mob standing right in front of it - I see the "sword cooldown" animation, but the entity is not damaged/does not take damage. However, if I manually left-click on the window, I'm able to deal damage.

My XML for the zombie:

<DrawEntity type="Zombie" x="0" y="4" z="0"/>

My XML for the agent's commands (I'm only testing attack and turn at the moment):

 <DiscreteMovementCommands>
 <ModifierList type="allow-list">
 <command>attack</command>
 <command>turn</command>
 </ModifierList>
 </DiscreteMovementCommands>

Is this a setup issue, or is this a known issue with the "attack" ? If it is a setup issue, could you point me in the direction to fix this? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /