LivingEntity Screen (no Inventory) #3951
Unanswered
derTeuton
asked this question in
Mod Dev Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
For my Mod i wanted to make an 'AdvisorEntity extends PassiveEntity implements Ownable', which should tell the Player what he can do with the Mod. The idea was, that the Player has to find this Advisor in the World and Hire him, so the Advisor need a Screen with a Button where he can be Hired
So I used the interactMob Method to open the Screen, where he should be Hireable through a Button:
Because the Advisor doesnt need an Inventory I tried it with a normal Screen:
The problem with this is, that the Game crashes with the error, that this Screen isnt correctly initialized and that i called setScreen on the worng Thread.
Beta Was this translation helpful? Give feedback.
All reactions