A Minecraft datapack generator written in go.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

wip: item modifier

This is waiting for the predicate branch being merged

cosmeak f2e535de 88f7ea26

+17
+17
itemmodifier/item_modifier.go
··· 1 + package itemmodifier 2 + 3 + type ItemModifier struct { 4 + function string 5 + conditions []string 6 + } 7 + 8 + func (im ItemModifier) Type() string { 9 + return "item_modifier" 10 + } 11 + 12 + func MkItemModifier(fn string, conditions ...string) ItemModifier { 13 + return ItemModifier{ 14 + function: fn, 15 + conditions: conditions, 16 + } 17 + }