Skip to content

Commit

Permalink
feat(jei): 🧻Add [Magical Planks] axing hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Krutoy242 committed May 27, 2024
1 parent ea5ef60 commit da48177
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/do/wood_axing.zs
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ static axes as int[IIngredient] = {
<twilightforest:steeleaf_axe:*> : 6,
<twilightforest:minotaur_axe_gold:*>: 7,
<twilightforest:minotaur_axe:*> : 8,
} as int[IIngredient];
} as int[IIngredient]$orderly;

static axeTraits as int[string] = {
axing : 4,
axing2: 6,
} as int[string];
} as int[string]$orderly;

static oreStick as IItemStack[string] = {
plankWood : <minecraft:stick>,
plankTreatedWood: <immersiveengineering:material>,
} as IItemStack[string];
} as IItemStack[string]$orderly;

function setDrops(e as BlockHarvestDropsEvent, value as int) as void {
val log = e.drops[0].stack.anyAmount();
Expand Down
1 change: 1 addition & 0 deletions scripts/do/wood_axing_jei.zs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function addForAxes(input as IIngredient, output as IItemStack) as void {
}

addForAxes(<ore:logWood>, <ore:plankWood>.firstItem);
addForAxes(<ore:blockMagicalWood>, <extrautils2:decorativesolidwood>);

for oreName, output in scripts.do.wood_axing.oreStick {
addForAxes(oreDict.get(oreName), output);
Expand Down

0 comments on commit da48177

Please sign in to comment.