Adding Generator For Single Prefab Structures
#12
Nooo, that's the wrong approach again. What is the loot table bound to? Why a child class when that behavior is intended for all prefabs?

The proper way would be to have a list of loot tables in the prefab, each bound to relative coords inside that prefab. So that when there are three chests and a furnace in the prefab, they can each be filled with specific loot.

And as I said, better split this into two tasks, first implement the generator without caring for the loot, then add loot table support to entire Cuberite. There's chests in villages, in the mineshafts and in the nether fortresses that need loot tables, too.
Reply
Thanks given by:


Messages In This Thread
RE: Adding Generator For Single Prefab Structures - by xoft - 08-23-2020, 07:49 PM



Users browsing this thread: 5 Guest(s)