PushReaction
Link to pushreaction
A push reaction is what happens when a piston tries to push a block.
Импорт пакета
Link to импорт-пакета
It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import mods.contenttweaker.PushReaction;
Comparing two reactions
Link to comparing-two-reactions
You can see if two reactions are equal by using the ==
operator.
ZenScript Copyif(a == b){}
Static methods
Link to static-methods
You can use these methods to get PushReaction Objects:
ZenScript Copymods.contenttweaker.PushReaction.normal();
mods.contenttweaker.PushReaction.destroy();
mods.contenttweaker.PushReaction.block();
mods.contenttweaker.PushReaction.ignore();
mods.contenttweaker.PushReaction.pushOnly();