#Tileentity data
1 messages · Page 1 of 1 (latest)
I'm trying to get a tag called "tier" from a tileentity, a modded block, that's why I cant just simply ask for it directly
Alright you will need NMS
Also if you're modding just use the Forge api
Hybrid servers are a bad idea
ik, I was just asked to make it
Also make sure not to use Mohist
the hybrid magma server broke a bunch of stuff
Are you by chance using this to create custom blocks?
No, rather to get the data just from them
but I guess you could add some data aswell then to create custom blocks
I see, then yeah what Olivo said
Just careful with tile entities, in my experience they can lag a server relatively fast when setting theyre data (IE Spawners)
not planning on setting it, just getting it, but thanks for the heads up :D
I beileve the remapped name of this class is BlockEntity
should be of some help to you hopefully, idk about un-mapped name though
1.12.2 isn't remapped
I might have solved it easier, somewhat.
I found something called "NBTAPI" which works for my usecase I believe, though it doesnt really like modded to much.
Might adapt it to modded then
NBTAPI just uses reflection
well it's doing something on start of the plugin that is throwing some errors
Anyways, I'm going to dig a bit deeper, thanks for your guys help, appreciate it :D
Reflection breaks easily on hybrid forks
tile entities have a persistent data container
:pain: