Eco
Greatheart Oct 30, 2021 @ 4:21am
Creating a new block using base game models/assets
Trying to create a lower tier version of the Flat Steel block made out of Iron. Basically have most of it working except I cannot figure out how to use base game assets for the model/textures etc. (I'm happy to just use the Flat Steel models etc.)

Think it's something to do with these lines but really not sure:
public partial class FlatIronBlock : Block, IRepresentsItem { public Type RepresentedItemType { get { return typeof(FlatIronItem); } } }

I've tried several different variations but it either works and I have no textures or I get errors that crash the game.

My code is here if anyone can point me in the right direction:
https://pastebin.com/XW33ULWf
< >
Showing 1-2 of 2 comments
StalEF 🐴 Nov 3, 2021 @ 11:15am 
you cannot create a copy of a block from the game without access to the source code that is provided with the purchase of the devtier on play.eco
Greatheart Nov 3, 2021 @ 2:46pm 
Bleh, thanks anyway.
< >
Showing 1-2 of 2 comments
Per page: 1530 50