Memes
This class was added by a mod with mod-id memeinabottle
. So you need to have this mod installed if you want to use this feature.
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import mods.memeinabottle.Memes;
Static Methods
Return Type: void
Memes.addItemMeme(uniqueID as string, weight as int, stack as IItemStack) as void
Parameter | Type | Description |
---|---|---|
Parameter uniqueID | Type string | Description No Description Provided |
Parameter weight | Type int | Description No Description Provided |
Parameter stack | Type IItemStack | Description No Description Provided |
Return Type: void
Memes.addItemMessageMeme(uniqueID as string, weight as int, stack as IItemStack, message as string) as void
Parameter | Type | Description |
---|---|---|
Parameter uniqueID | Type string | Description No Description Provided |
Parameter weight | Type int | Description No Description Provided |
Parameter stack | Type IItemStack | Description No Description Provided |
Parameter message | Type string | Description No Description Provided |
Return Type: void
Memes.addItemSoundAndMessageMeme(uniqueID as string, weight as int, stack as IItemStack, sound as string, message as string) as void
Parameter | Type | Description |
---|---|---|
Parameter uniqueID | Type string | Description No Description Provided |
Parameter weight | Type int | Description No Description Provided |
Parameter stack | Type IItemStack | Description No Description Provided |
Parameter sound | Type string | Description No Description Provided |
Parameter message | Type string | Description No Description Provided |
Return Type: void
Memes.addItemSoundMeme(uniqueID as string, weight as int, stack as IItemStack, sound as string) as void
Parameter | Type | Description |
---|---|---|
Parameter uniqueID | Type string | Description No Description Provided |
Parameter weight | Type int | Description No Description Provided |
Parameter stack | Type IItemStack | Description No Description Provided |
Parameter sound | Type string | Description No Description Provided |
Return Type: void
Memes.disableMeme(meme as string) as void
Parameter | Type | Description |
---|---|---|
Parameter meme | Type string | Description No Description Provided |
Return Type: void
Memes.disableMeme(memes as string[]) as void
Parameter | Type | Description |
---|---|---|
Parameter memes | Type string[] | Description No Description Provided |
Return Type: void
Memes.enableMeme(meme as string) as void
Parameter | Type | Description |
---|---|---|
Parameter meme | Type string | Description No Description Provided |
Return Type: void
Memes.enableMeme(memes as string[]) as void
Parameter | Type | Description |
---|---|---|
Parameter memes | Type string[] | Description No Description Provided |