MoreJS

MoreJS

8M Downloads

AE2 Fluix Researcher Trades not being removed

Electrolyte220 opened this issue ยท 3 comments

commented

Minecraft Version

1.20.1

Mod Version

0.10.0

Describe the bug!

I'm trying to remove trades for the AE2 Fluix Researcher, however it does not seem to work at any level. It works with other modded villagers (like the Advanced Peripherals computer scientist), but not with this one.

Script

This is the same code I have for the AP one, but it does not work for AE2.

MoreJSEvents.villagerTrades(event => {
  event.removeModdedTrades(['ae2:fluix_researcher'], 1)
})

Crash Report

No response

Log

No response

Additions and Modifications

Yes

Additions and Modifications Description

AE2 Version: 15.2.4

Did the issue happen in singleplayer or on a server?

Singleplayer

commented

use removeVanillaTrades as AE2 uses vanilla trade objects internally.

commented

however it does not seem to work at any level.

but it does not work for AE2

On which level it does not work? Your script just shows for level 1.

commented

It does not work for any level.