Class GrubItem
Item which gives a grub and requests a Grub Jar container.
Inherited Members
Namespace: ItemChanger.Items
Assembly: ItemChanger.dll
Syntax
public class GrubItem : AbstractItem
Constructors
View SourceGrubItem()
Declaration
public GrubItem()
Methods
View SourceGetPreferredContainer()
Used by some placements to decide what container to use for the item. A value of "Unknown" is ignored, and usually leads to a shiny item by default.
Declaration
public override string GetPreferredContainer()
Returns
| Type | Description |
|---|---|
| string |
Overrides
View SourceGiveEarly(string)
Indicates that the item can be given early in a special way from the given container.
For example, SpawnGeoItem can be given early from Container.Chest by flinging geo directly from the chest.
Declaration
public override bool GiveEarly(string containerType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | containerType |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
View SourceGiveImmediate(GiveInfo)
Specifies the effect of giving a particular item.
Declaration
public override void GiveImmediate(GiveInfo info)
Parameters
| Type | Name | Description |
|---|---|---|
| GiveInfo | info |