use of com.simibubi.create.foundation.tileEntity.behaviour.belt.BeltProcessingBehaviour in project Create by Creators-of-Create.
the class MechanicalPressTileEntity method addBehaviours.
@Override
public void addBehaviours(List<TileEntityBehaviour> behaviours) {
super.addBehaviours(behaviours);
processingBehaviour = new BeltProcessingBehaviour(this).whenItemEnters((s, i) -> BeltPressingCallbacks.onItemReceived(s, i, this)).whileItemHeld((s, i) -> BeltPressingCallbacks.whenItemHeld(s, i, this));
behaviours.add(processingBehaviour);
}
Aggregations