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