Generic Item Mod

Mods
130 Downloads Last Updated: Jul 4, 2017

This mod adds in an item than can be used for mapmaking.

 

Features

  • Near infinite textures and models via resource packs
  • Execute mcfunction functions
    • on right clicking the item
    • on hitting an entity with the item
    • on clicking on an entity with the item
    • on clicking a block with the item
    • on dropping the item

 

Executing functions via the item NBT data

Example

/give @p genericitem:generic_item 1 0 {"generic_data":{"on_click":"custom:example/test", "generic_variant":1, "on_entity_click":"custom:example/kill", "on_entity_hit":"custom:example/kill", "on_block_click":"custom:example/setblock"}}

 

 

Item texture variants

Example

{
    "parent": "builtin/generated", 
    "textures": { 
         "layer0": "genericitem:items/generic_item"
     },
	"overrides":[
		{"predicate":{"generic_variant":1}, "model": "genericitem:item/custom_item_model"}
	]
}

Download example resource pack

Download example functions

 

 

 

Comments

Posts Quoted: