Giter VIP home page Giter VIP logo

orangemechanic's People

Contributors

gcecold avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

ksqeib

orangemechanic's Issues

SubModel及PartVisibility 问题

SubModel在游戏中不生效
配置文件为

  • submodel{m=dragon_knight;p=spear;submodel=kur_parts;subpart=kur_righthand} @self ~onDamaged
    后台输出
    [18:26:23 INFO]: [STDOUT] [ltd.icecold.orangeengine.api.model.a] PRE: Add sub model.kur_parts kur_righthand
    [18:26:23 INFO]: [STDOUT] [ltd.icecold.orangeengine.api.model.a] POST: Add sub model.kur_parts kur_righthand
    游戏中模型没有任何变化

配置文件为

  • submodel{m=dragon_knight;p=spear;subpart=spear;remove=true} @self ~onDamaged
    后台无输出
    游戏中该模型的spear部分没有任何变化

参考wiki中

受伤后将自身所应用模型 "test"模型中的"h_head"骨骼组移除

  • submodel{model=test;subpart=h_head;remove=true} @self ~onDamaged
    则报错this.partID=null

PartVisibility Mechanics
PartVisibility只能用~onDamaged onAttack这两个触发器触发
使用
onSpawn时无反应
直接调用Skill中 PartVisibility无反应
以上均无后台报错

服务器版本1.18.2 核心Paper

SubModel技能在mm5.1.4无法正常工作

SubModel技能在mm5.1.4无法正常工作,已经另行测试同配置meg执行正常。
报错信息:
[22:31:12] [lumine-scheduler-67/ERROR]: [MythicMobs] �[31m[SCHEDULER] Exception thrown whilst executing task�[37m
[22:31:12] [lumine-scheduler-67/WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.api.skills.placeholders.PlaceholderString.get(io.lumine.mythic.core.skills.placeholders.PlaceholderMeta, io.lumine.mythic.api.adapters.AbstractEntity)" because "this.partId" is null
[22:31:12] [lumine-scheduler-67/WARN]: at OrangeMechanic-1.0.5-SNAPSHOT.jar//ltd.icecold.orangeengine.mythicmobs.v5.mechanics.MechanicSubModel.castAtEntity(MechanicSubModel.java:40)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeTargetedEntitySkill$7(SkillMechanic.java:520)
[22:31:12] [lumine-scheduler-67/WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:516)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeSkills$3(SkillMechanic.java:473)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.skills.SkillMechanic.runMechanic(SkillMechanic.java:511)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:473)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:390)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.core.mobs.MobType.lambda$executeSkills$4(MobType.java:1140)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[22:31:12] [lumine-scheduler-67/WARN]: at MythicMobs-5.1.4 premium.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[22:31:12] [lumine-scheduler-67/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[22:31:12] [lumine-scheduler-67/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[22:31:12] [lumine-scheduler-67/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.