Started by
StepikDaModder
on
Topic category: Troubleshooting, bugs, and solutions
This is the first time I've encountered this, so here we go.
I tried to make an Item Pipe and I added a condition IF Get Block Direction at X Y Z = OutputDirection
When I tried to save the Procedure, this popped up in the console:
return Direction.fromAxisAndDirection(_bs.getValue(BlockStateProperties.AXIS), Direction.AxisDirection.POSITIVE);
^
required: class,package
found: variable
What happened?
I found the problem = the variable name "Direction" was disrupting the code.