BlockState to IBlockData
StanByes opened this issue · comments
Hello, I tried to use the net.minecraft.world.level.block.state.BlockState in my plugin to get Internal ID of a block.
After use the reobfJar task, I've launched my plugin and I got this error :
Caused by: java.lang.NoSuchMethodError: 'net.minecraft.world.level.block.state.BlockState org.bukkit.craftbukkit.v1_19_R3.block.data.CraftBlockData.getState()'
After a look in https://mappings.cephx.dev/1.19.4 page, I saw that the class should be rename to IBlockData but when I decompiled the class of my plugin, the reobfJar task has let BlockState name.
I don't know if is an error with paperweight or not so I put it here !
Thank's
I forgot :
- Paperweight version : 1.5.5
- Dev bundle : io.papermc.paper:dev-bundle:1.19.4-R0.1-SNAPSHOT