-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 修改图标功能 * cherry-pick * cherry-pick 完成弓箭、弹幕、枪械的骑乘 AI 设计 * cherry-pick 修改本模组 API 注册时间,使其在配置文件之后加载,便于配置文件管控 * 修改背包物品掉落逻辑 * cherry-pick 添加部分 API * replace forge with neoforge --------- Co-authored-by: tartaric_acid <baka943@qq.com>
- Loading branch information
1 parent
4bd2057
commit 51b3f1e
Showing
30 changed files
with
379 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/main/java/com/github/tartaricacid/touhoulittlemaid/api/event/AddJadeInfoEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.github.tartaricacid.touhoulittlemaid.api.event; | ||
|
||
import com.github.tartaricacid.touhoulittlemaid.entity.passive.EntityMaid; | ||
import net.neoforged.bus.api.Event; | ||
import snownee.jade.api.ITooltip; | ||
import snownee.jade.api.config.IPluginConfig; | ||
|
||
public class AddJadeInfoEvent extends Event { | ||
private final EntityMaid maid; | ||
private final ITooltip tooltip; | ||
private final IPluginConfig pluginConfig; | ||
|
||
public AddJadeInfoEvent(EntityMaid maid, ITooltip tooltip, IPluginConfig pluginConfig) { | ||
this.maid = maid; | ||
this.tooltip = tooltip; | ||
this.pluginConfig = pluginConfig; | ||
} | ||
|
||
public EntityMaid getMaid() { | ||
return maid; | ||
} | ||
|
||
public ITooltip getTooltip() { | ||
return tooltip; | ||
} | ||
|
||
public IPluginConfig getPluginConfig() { | ||
return pluginConfig; | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/main/java/com/github/tartaricacid/touhoulittlemaid/api/event/AddTopInfoEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.github.tartaricacid.touhoulittlemaid.api.event; | ||
|
||
import com.github.tartaricacid.touhoulittlemaid.entity.passive.EntityMaid; | ||
import mcjty.theoneprobe.api.IProbeHitEntityData; | ||
import mcjty.theoneprobe.api.IProbeInfo; | ||
import mcjty.theoneprobe.api.ProbeMode; | ||
import net.neoforged.bus.api.Event; | ||
|
||
public class AddTopInfoEvent extends Event { | ||
private final EntityMaid maid; | ||
private final ProbeMode probeMode; | ||
private final IProbeInfo probeInfo; | ||
private final IProbeHitEntityData hitEntityData; | ||
|
||
public AddTopInfoEvent(EntityMaid maid, ProbeMode probeMode, IProbeInfo probeInfo, IProbeHitEntityData hitEntityData) { | ||
this.maid = maid; | ||
this.probeMode = probeMode; | ||
this.probeInfo = probeInfo; | ||
this.hitEntityData = hitEntityData; | ||
} | ||
|
||
public EntityMaid getMaid() { | ||
return maid; | ||
} | ||
|
||
public ProbeMode getProbeMode() { | ||
return probeMode; | ||
} | ||
|
||
public IProbeInfo getProbeInfo() { | ||
return probeInfo; | ||
} | ||
|
||
public IProbeHitEntityData getHitEntityData() { | ||
return hitEntityData; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.