类 SimpleSidedEnergyContainerMixin
java.lang.Object
net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant<Long>
cn.korostudio.c3h6n6o6.mixin.tech.SimpleSidedEnergyContainerMixin
- 所有已实现的接口:
net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.CloseCallback
,net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.OuterCloseCallback
public abstract class SimpleSidedEnergyContainerMixin
extends net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant<Long>
这一个类可能会突然暴毙,不过吾不检查这个Mixin是否成功,随他了。
-
字段概要
-
构造器概要
-
方法概要
从类继承的方法 net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
afterOuterClose, createSnapshot, onClose, onFinalCommit, releaseSnapshot, updateSnapshots
-
字段详细资料
-
amount
public long amountamount镜像
-
-
构造器详细资料
-
SimpleSidedEnergyContainerMixin
public SimpleSidedEnergyContainerMixin()
-
-
方法详细资料
-
readSnapshot
加一层空判断,可以解决异常(智将- 指定者:
readSnapshot
在类中net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant<Long>
- 参数:
snapshot
- 源数据
-