Hi all! I’m fairly new to plugin making but have been working on something for my friends’ Pixlemon server. I’ve been reading through the documentation on spongeforge but it lacks describing specifically what I’m trying to do and doesn’t have many concrete examples.
I’m trying to create a TileEntity similar to a PokeGift, where it can contain one instance of a pokemon at a time and right clicking the entity will either put your currently selected pokemon in or put whatever pokemon is in the entity into the players inventory.
How do I go about creating an new TileEntity? How do I add a block texture to it? How do I hook up the entity so that when I click on it, executes a function? Any other tid bits of info would be great!
Sorry if this question has been answered before. I’ve searched the forum but couldn’t find similar, and google has only returned examples coded in forge so I can’t use those.
Thank you!