Started by
Alvieris2002@g…
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, very good, I have a question, I want to know how I can determine the face through which the redstone signal should come out, for example I try to make a block like the vanilla repeater of minecraft I have the model and the code ready, I just want the block to only I can send the redstone signal through the EAST / front side only but I don't know how to do it, this is the code that is responsible for determining the signal intensity
@Override
public int getWeakPower (BlockState blockstate, IBlockReader blockAccess, BlockPos pos, Direction side) {
return 15;
}
Is there a way that in the return I can return more values like the face for which the signal should come out?
Edited by Alvieris2002@gmail.com on Thu, 11/11/2021 - 13:39