generated from AriasCreations/vsmodtemplate
Re-enable entity and block class registration
This commit is contained in:
parent
03eb896e8f
commit
6f7360f11f
3 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
using Vintagestory.API.Common;
|
||||
|
||||
public class DrawerTrim : BlockEntity
|
||||
public class BlockEntityDrawerTrim : BlockEntity
|
||||
{
|
||||
public DrawerTrim()
|
||||
public BlockEntityDrawerTrim()
|
||||
{
|
||||
Api.Logger.Notification("\n\n/!\\ New DrawerTrim block entity created /!\\\n\n");
|
||||
}
|
|
@ -33,7 +33,7 @@ namespace VintageStorage
|
|||
{
|
||||
|
||||
// Trim
|
||||
api.RegisterBlockEntityClass("DrawerTrim", typeof(DrawerTrim));
|
||||
api.RegisterBlockEntityClass("BlockEntityDrawerTrim", typeof(BlockEntityDrawerTrim));
|
||||
}
|
||||
|
||||
// Called on server and client
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"code": "drawertrim",
|
||||
"class": "BlockDrawerTrim",
|
||||
"entityclass": "BlockEntityDrawerTrim",
|
||||
"creativeinventory": {
|
||||
"general": ["*"],
|
||||
"construction": ["*"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue