More AI and Goals blocks

Started by Guy Of Silliness232 on

Topic category: Feature requests and ideas for MCreator

Last seen on 03:44, 24. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
More AI and Goals blocks

Can you add things such as these blocks into the AI and Goals for the entities? I would love to have these and it would make programming for advanced entities a lot easier.

  • Normal blocks
    • Attempt to prevent this entity from moving
    • Attempt to allow this entity to move
    • Attempt to move to X: [X] Y: [Y] Z: [Z]
    • Play sound: [sound] until done at X: [X] Y: [Y] Z: [Z] level: [number] pitch: [pitch]
    • Constantly play idle sound: [sound] level: [number] pitch: [pitch] on loop until [Entity Event]
    • Call procedure: [procedure] for this entity
    • Find blocks of type: [block selector]  in square cube of size: [number] and mine it
    • Disallow this entity to target any entities
    • Allow this entity to target other entities
    • Disallow this entity to climb walls
    • Allow this entity to climb walls
  •  If type blocks
    • If this entity is in [entity block]'s line of sight, do:
    • When this entity hears a sound within a square cube of size: [number], get [sound X], [sound Y], [sound Z], and do:
    • When [Entity event], do:
    • When [Variable] is [<, >, =, <, >] [number], do:
  • Entity blocks
    • Entity of type: [entity selector]
    • No entity
    • Target
    • Any entity
  • Entity event blocks
    • This entity dies
    • This entity moves
    • This entity emits a sound
    • This entity attacks something
    • This entity takes damage
    • This entity hears a sound
    • This entity's health reaches [drop down menu that contains Above or Below] [number]
    • This entity targets another entity
  • Variable blocks
    • Change [Variable] by [Number]
    • Set [Variable] to [Number]
    • Get [Variable]