mojira.dev
MCPE-237713

Custom entity components locked behind runtime IDs

Components (ocelotattack in this case, possibly more) are no longer usable in custom entities without using (in this case ocelot/cat) runtime IDs since the 26.11 update, where they were perfectly usable and stable previously.

Reproduction steps:

  • Code a custom entity

  • Add the ocelotattack component without adding the ocelot/cat runtime ID

Expected (prior to 26.11) result:

  • Entity uses the component and ocelot stalking behaviour

  • No errors in the content log

Actual result:

  • Errors in the content log

  • Mob no longer stalks or attacks

An example of the content log error:

[AI][error]-cc_wild:lynx | minecraft:behavior.ocelotattack | cc_wild:lynx | This entity is not an Ocelot or Cat mob-type.

Comments 1

Hi!
Thank you for your report!ย 

Could you please provide more details or any relevant media files?

  • Can you record a video of the issue and upload it?

  • Could you please provide a world where issue occurs? (If the file is to big to upload it here please upload it to One Drive and post the link to it here)

  • Can you provide logs? You can find them at %appdata%\.minecraft

  • Can you include behavior pack showcasing the issue?

Quick Links:ย 
๐Ÿ““โ€ฏIssue Guidelinesโ€ฏโ€“ ๐Ÿ’ฌโ€ฏMojang Supportโ€ฏโ€“ ๐Ÿ“งโ€ฏSuggestionsโ€ฏโ€“ ๐Ÿ“–โ€ฏMinecraft Wiki

Compycraft

(Unassigned)

Unconfirmed

Multiple

26.11

26.20.26 Preview, 26.13

Retrieved