Generic Item Mod

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:
Reply
Clear All Quotes

About This Project

  • Project ID
    271348
  • Created
    Jul 4, 2017
  • Last Released File
    Jul 4, 2017
  • Total Downloads
    124
  • License

Categories

Members