1 decade ago by afflicto
I have a crate entity which have 'content's.
The contents, I set in weltmeister using the settings.
For example, I have a EntityHealthpotion object.
I create a 'crate' in weltmeister then put a key 'contents.1' to 'EntityHealthpotion'.
Problem is, how do I spawn this item in the crate's code?
I need to dynamically get access to that entity.
I don't want to bother typing all entities in the requires block for my crate.
Thanks in advance.
The contents, I set in weltmeister using the settings.
For example, I have a EntityHealthpotion object.
I create a 'crate' in weltmeister then put a key 'contents.1' to 'EntityHealthpotion'.
Problem is, how do I spawn this item in the crate's code?
I need to dynamically get access to that entity.
I don't want to bother typing all entities in the requires block for my crate.
Thanks in advance.