forked from BRNSystems/RegexingHoppers
Add cooldowns
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package systems.brn.regexinghoppers.mixin;
|
||||
|
||||
import net.minecraft.block.entity.HopperBlockEntity;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Invoker;
|
||||
|
||||
@Mixin(HopperBlockEntity.class)
|
||||
interface HopperBlockEntityInvoker {
|
||||
@Invoker("setTransferCooldown")
|
||||
void setTransferCooldown(int transferCooldown);
|
||||
}
|
Reference in New Issue
Block a user