类 SuperLeadRopeEvent.hasFocus
java.lang.Object
net.minecraftforge.eventbus.api.Event
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent.hasFocus
- 所有已实现的接口:
net.minecraftforge.fml.event.IModBusEvent
- 封闭类:
- SuperLeadRopeEvent
The type Has focus.
-
嵌套类概要
从类继承的嵌套类/接口 top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent
SuperLeadRopeEvent.AddLeash, SuperLeadRopeEvent.hasFocus, SuperLeadRopeEvent.keepNotBreakTick, SuperLeadRopeEvent.ModifyValue<T>, SuperLeadRopeEvent.RemoveLeash, SuperLeadRopeEvent.teleportWithHolder, SuperLeadRopeEvent.TransferLeash从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明net.minecraft.world.phys.Vec3Gets combined force.net.minecraft.world.entity.EntityGets final force target.Gets vaild leash holders.Gets vaild leash knots.voidsetCombinedForce(net.minecraft.world.phys.Vec3 combinedForce) Sets combined force.从类继承的方法 top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent
getLeashedEntity, isModified, markModified从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
构造器详细资料
-
hasFocus
public hasFocus(net.minecraft.world.entity.Entity leashedEntity, net.minecraft.world.entity.Entity finalForceTarget, net.minecraft.world.phys.Vec3 combinedForce, Map<UUID, LeashInfo> vaildLeashHolders, Map<net.minecraft.core.BlockPos, LeashInfo> vaildLeashKnots) Instantiates a new Has focus.- 参数:
leashedEntity- the leashed entityfinalForceTarget- the final force targetcombinedForce- the combined forcevaildLeashHolders- the vaild leash holdersvaildLeashKnots- the vaild leash knots
-
-
方法详细资料
-
getFinalForceTarget
public net.minecraft.world.entity.Entity getFinalForceTarget()Gets final force target.- 返回:
- the final force target
-
getCombinedForce
public net.minecraft.world.phys.Vec3 getCombinedForce()Gets combined force.- 返回:
- the combined force
-
setCombinedForce
public void setCombinedForce(net.minecraft.world.phys.Vec3 combinedForce) Sets combined force.- 参数:
combinedForce- the combined force
-
getVaildLeashHolders
Gets vaild leash holders.- 返回:
- the vaild leash holders
-
getVaildLeashKnots
Gets vaild leash knots.- 返回:
- the vaild leash knots
-