-
Notifications
You must be signed in to change notification settings - Fork 52
IMC support for Modders
Modders may choose to blacklist their blocks for use with CarryOn. For that reason, I have added support for IMC.
blacklistBlock
add a block to the blacklist.
whitelistBlock
add a block to the whitelist.
blacklistEntity
add an entity to the blacklist.
whitelistEntity
add an entity to the blacklist.
blacklistStacking
add an entity to the stacking blacklist, meaning that you can't stack other entities on top of this one.
whitelistStacking
add an entity to the stacking whitelist, meaning that you can only stack other entities on top of this entity.
addModelOverride
add a default Model Override for a block
blacklistBlock
takes a block name.
whitelistBlock
takes a block name.
blacklistEntity
takes an entity name.
whitelistEntity
takes an entity name.
blacklistStacking
takes an entity name.
whitelistStacking
takes an entity name.
addModelOverride
takes a model override string in the Model Override Format.
FMLInterModComms.sendMessage("carryon", "blacklistBlock", "minecraft:stone");
FMLInterModComms.sendMessage("carryon", "whitelistEntity", "minecraft:zombie");
FMLInterModComms.sendMessage("carryon", "addModelOverride", "minecraft:hopper->(block)minecraft:hopper");
InterModComms.sendTo("carryon", "blacklistBlock", () -> "minecraft:stone");
InterModComms.sendTo("carryon", "whitelistEntity", () -> "minecraft:zombie");
InterModComms.sendTo("carryon", "addModelOverride", () -> "minecraft:hopper->(block)minecraft:hopper");