MrCrayfish's Furniture Mod

MrCrayfish's Furniture Mod

88M Downloads

[1.15.x] TileEntities are not addon friendly.

legoatoom opened this issue ยท 0 comments

commented

Example: Inside CabinetTileEntity.java there is this constructor.
public CabinetTileEntity() { super(ModTileEntities.CABINET); }

If someone wanted to reuse this file, the author would not be able to change the tile entity type.
The only thing possible would be to copy the entire file. Not a good thing

Suggestion:
public CabinetTileEntity(TileEntityType<T extends TileEntity> tileEntityType) { super(tileEntityType); }