prepare
public final static Boolean prepare(Identifier container, PlayerEntity player, World world, Hand hand, HitResult hitResult, Object extra)(source)
public final static Boolean prepare(Identifier container, PlayerEntity player, World world, Hand hand, HitResult hitResult, Object extra, BlockEntity blockEntity)(source)
public final static Boolean prepare(Identifier container, PlayerEntity player, World world, Hand hand, HitResult hitResult, Object extra, Entity entity)(source)
Prepares OptiGUI texture replacer for an interaction. Must be called before a Screen is opened. If called multiple times before a Screen is opened, the last call takes effect.
Return
true
if a GUI is not open, otherwise false