TheMarstonConnell / randomlootmod

A RPG loot mod for Minecraft - DEPRECATED
https://www.curseforge.com/minecraft/mc-mods/random-loot-mod
Other
9 stars 10 forks source link

This doesn't work with Tree Harvester #62

Closed DatrixTHLK closed 3 years ago

DatrixTHLK commented 4 years ago

Hi,

It appears that when I use the axes that come from the random loot boxes, they don't work along side the Tree Harvester mod. When chopping a tree the logs above it don't break.

Minecraft: 1.16.3 Forge: 34.1.22/3 Collective: 1.51 Random Loot: 2.1.7 Tree Harvester: 1.7

I will put this in Tree Harvesters mod issue list as well incas it is on his end

ricksouth commented 4 years ago

I'm checking for the ToolType.Axe property to determine if the player is holding an axe:

ItemStack mainheld = player.getHeldItem(Hand.MAIN_HAND); if (!mainheld.getToolTypes().contains(ToolType.AXE)) { return; }

I think adding those to your custom tools will do the trick.

TheMarstonConnell commented 3 years ago

Fixed in 2.1.8

DatrixTHLK commented 3 years ago

Thanks! Appreciate the response back.