CraftTweaker / ContentTweaker

Custom Minecraft Objects created from MT scripts
MIT License
42 stars 17 forks source link

[1.12.2] Couldn't use the function 'itemInteractionForEntity' #254

Closed Dark2932 closed 2 years ago

Dark2932 commented 2 years ago

I couldn't use the function 'itemInteractionForEntity' when creating a Item. It told me "No such member in mods.contenttweaker.Item: itemInteractionForEntity"

ContentTweaker version: 4.10.0

jaredlll08 commented 2 years ago

full script and log on pastebin please

Dark2932 commented 2 years ago

script 1:https://paste.ubuntu.com/p/8KJVnzQCKB/ script 2:https://paste.ubuntu.com/p/9XGyg9BBcb/ logs:https://paste.ubuntu.com/p/dRp87Pbp4s/ Error is on the line 169 and 170.

jaredlll08 commented 2 years ago

I have no idea what you are doing, but it isn't using ContentTweaker, it is using ZenUtils, so that is why you don't have access to that field.

Dark2932 commented 2 years ago

OK,thanks.