glitch event condition BlockAt == item/block not work

4 posts / 0 new
Last post
Offline
Last seen: 2 months 3 weeks ago
Joined: 08/12/2015 - 00:27
Gems: 0
glitch event condition BlockAt == item/block not work

my version of mcreator is 1.5.8 and ta giving this problem, it has to be resolved in 1.5.9, this glitch is annoying

Edited by: CoalManBr_54321 on 08/30/2015 - 23:54


drekac's picture
Offline
Last seen: 8 months 3 weeks ago
Joined: 09/28/2014 - 02:30
Gems: 11
This still hasn't been fixed.

This still hasn't been fixed...I wasted days because of this...

drekac's picture
Offline
Last seen: 8 months 3 weeks ago
Joined: 09/28/2014 - 02:30
Gems: 11
Hey, CoalManBr_54321. I found

Hey, CoalManBr_54321. I found fix. This is a bug and yes it's still in MCreator. If you want to fix it just use BlockAt as you would and then when mod is done go to it's source code and add ".getBlock()" after coordinates, so it looks like this: "if(world.getBlockState(new BlockPos(i, j, k)).getBlock() == *your block*)"

I wasted days to figure this out and fix it, so please:
If I helped you please subscribe: https://www.youtube.com/channel/UC4qcA9ebaWQxZQD3n7k3eyA

Gotta self promote. I work very hard for nothing :/
 

drago15243's picture
Offline
Last seen: 1 year 5 days ago
Joined: 04/29/2015 - 05:20
Gems: 0
RE:Hey, CoalManBr_54321. I found

It worked! thanks so much, searched so much to find this. +1 Sub