Empeld
Empeld plugin documentation.
essentials.action.ItemFramework Namespace Reference

Namespaces

namespace  Containers
 
namespace  Interactive
 
namespace  Meshalizer
 
namespace  World
 

Classes

class  BlockItem
 
class  BlockStackItem
 
interface  IItem
 
interface  IItemQuantity
 Denotes an item that has quantity, and is able to stack with other items More...
 
interface  IItemQuantityBundleable
 Denotes an item that can bundle multiple items More...
 
class  ItemBase
 
class  ItemBundle
 Helper class for bundling non-bundleable items More...
 
class  ItemEntityExtensions
 Item extensions to interact with entities More...
 
class  ItemResourceManager
 A context-level cache of models for entities
 

Enumerations

enum  ItemRenderMode { ItemRenderMode.Meshalizer =0, ItemRenderMode.Flat =1, ItemRenderMode.Custom =2, ItemRenderMode.Cube =3 }
 

Functions

delegate void CapacityEvent (int capacity, IItem[] overflow)
 
delegate void ItemEvent (int idx, IItem item)
 

Enumeration Type Documentation

◆ ItemRenderMode

Enumerator
Meshalizer 

Generates a 3D mesh based on an image

Flat 

Just a flat quad with the icon on it

Custom 

You probably overrode LoadModel() or something

Cube 

It's a cube with the model image on each side

6  {
10  Meshalizer=0,
11 
15  Flat=1,
16 
20  Custom=2,
21 
25  Cube=3
26  }
Generates a 3D mesh based on an image
It's a cube with the model image on each side

Function Documentation

◆ CapacityEvent()

delegate void essentials.action.ItemFramework.CapacityEvent ( int  capacity,
IItem []  overflow 
)

◆ ItemEvent()

delegate void essentials.action.ItemFramework.ItemEvent ( int  idx,
IItem  item 
)