ticxo / model-engine-wiki Goto Github PK
View Code? Open in Web Editor NEWA Minecraft plugin which allows you to create mod-like models for your mobs.
License: Other
A Minecraft plugin which allows you to create mod-like models for your mobs.
License: Other
Hi, this is a heavy load on the server
ModelEngine::Task: com.ticxo.modelengine.manager.MEModelRunnable (interval:1)
timings: https://timings.aikar.co/?id=b6eccb5aa2954b40bd833020cd4e8ca2
How to fix it?
I have the following console error:
https://pastebin.com/zRd1tWhd
ME version: R2.3.2
Worldguard: 7.0.6+1cff55f
Paper 1.18.1
I know its an old version of ME, but any newer wont work with Magmaguys ELitemobs atm.
Is the worldguard error fixed on a later version?
Thankyou
I was messing around with a model/custom mob that I made to replace the wither, and I made it unable to naturally despawn in the MythicMobs config, but after playing around with this for a while, I noticed an issue, if I was killed by the model, and respawned outside of the chunks where the model was, returning would render the mob invisible, but the model would just stay where it was last, this seems to be a client-side only issue, and the model and armor stands behave normally, but until the player leaves and rejoins, the custom mob is completely invisible, and the model seems to do nothing from the affected player's perspective, even when the mob is removed, the model seems to remain anyway. The second issue is just that the model seems to be able to attack from much father away than the hitbox should allow, even when the player is flying, it seems to be able to attack players with normal melee attacks at least 5+ blocks away from the hitbox, even through walls, though they "forget about the player once they are on the other side of the wall fairly quickly, so that's not much of a problem.
add ability to apply Model to Player.
function similar to a fashion appearance.
Hello, I was wondering if you could add an option to allow Modelengine to generate the resourcepack inside the Oraxen resourcepack folder, which would really help any servers using oraxen and modelengine, as it would eliminate the need to manually merge the modelengine pack into the Oraxen pack every time a new model is added or editied.
This is by Creeper Pack Volume 3 I bought.
` - model{m=creeper_beach;n=false} @self ~onSpawn
This is my last attempt. The Ventor of this model couldn't repeat my issue but I can't believe the issue is on my site. I have also tried the exact same thing on a new server with only the necessary plugins.
Hello, sorry to ennoying you, but I have a constant problem of memory leaks and an error in console:
https://log.mtxserv.com/eSIZ14l#L1491
Could you fix this please?
[06:01:34] [Server thread/ERROR]: Could not pass event ChunkLoadEvent to ModelEngine vR1.0.9
--
1492 | java.lang.NullPointerException: null
1493 | at com.ticxo.modelengine.listeners.WorldListener.onChunkLoad(WorldListener.java:27) ~[?:?]
1494 | at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1554.execute(Unknown Source) ~[?:?]
1495 | at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.3.jar:git-Paper-253]
1496 | at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.3.jar:git-Paper-253]
1497 | at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.3.jar:git-Paper-253]
1498 | at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.3.jar:git-Paper-253]
1499 | at net.minecraft.server.v1_16_R2.Chunk.loadCallback(Chunk.java:818) ~[patched_1.16.3.jar:git-Paper-253]
1500 | at net.minecraft.server.v1_16_R2.PlayerChunk.lambda$null$15(PlayerChunk.java:745) ~[patched_1.16.3.jar:git-Paper-253]
1501 | at net.minecraft.server.v1_16_R2.PlayerChunkMap$CallbackExecutor.run(PlayerChunkMap.java:149) ~[patched_1.16.3.jar:git-Paper-253]
1502 | at net.minecraft.server.v1_16_R2.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:1054) ~[patched_1.16.3.jar:git-Paper-253]
1503 | at net.minecraft.server.v1_16_R2.ChunkProviderServer.runTasks(ChunkProviderServer.java:636) ~[patched_1.16.3.jar:git-Paper-253]
1504 | at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:1144) ~[patched_1.16.3.jar:git-Paper-253]
1505 | at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:1128) ~[patched_1.16.3.jar:git-Paper-253]
1506 | at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.3.jar:git-Paper-253]
1507 | at net.minecraft.server.v1_16_R2.MinecraftServer.executeModerately(MinecraftServer.java:1082) ~[patched_1.16.3.jar:git-Paper-253]
1508 | at net.minecraft.server.v1_16_R2.MinecraftServer.loadSpawn(MinecraftServer.java:645) ~[patched_1.16.3.jar:git-Paper-253]
1509 | at org.bukkit.craftbukkit.v1_16_R2.CraftServer.createWorld(CraftServer.java:1164) ~[patched_1.16.3.jar:git-Paper-253]
1510 | at org.bukkit.Bukkit.createWorld(Bukkit.java:581) ~[patched_1.16.3.jar:git-Paper-253]
1511 | at org.bukkit.WorldCreator.createWorld(WorldCreator.java:325) ~[patched_1.16.3.jar:git-Paper-253]
1512 | at me.profelements.dynatech.DynaTech.onEnable(DynaTech.java:33) ~[?:?]
1513 | at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.3.jar:git-Paper-253]
1514 | at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.3.jar:git-Paper-253]
1515 | at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.3.jar:git-Paper-253]
1516 | at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.3.jar:git-Paper-253]
1517 | at org.bukkit.craftbukkit.v1_16_R2.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.3.jar:git-Paper-253]
1518 | at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:468) ~[patched_1.16.3.jar:git-Paper-253]
1519 | at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:237) ~[patched_1.16.3.jar:git-Paper-253]
1520 | at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.3.jar:git-Paper-253]
1521 | at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-253]
1522 | at java.lang.Thread.run(Thread.java:834) [?:?]
Hello, I'm having a small issue with model engine, the mob, and all the animations are running perfectly, except the attack animation, when I reload model engine, it says the it has registered the attack animation for my model, but it won't play in-game.
I have tried restarting my server, and replacing the model file, but it still won't play when the model attacks.
Also this error shows up whenever I reload model engine
It doesn't seem to effect anything, and my model is a generic model, so it still works, but the error can be a bit annoying.
Hello there,
I've made some custom mobs that act as mounts on my server so players can ride them, but when someone relogs and comes back later, they can not re mount their mob. I have followed the wiki and the Mythic Mob wikis and im not sure what else im missing
No errors are appearing on the console, and I will provide piece that is required Thank you
NameTag follows entity with lag, while model itself moves smooth and synchronized.
ERROR] [31m[SCHEDULER] Exception thrown whilst executing task�[37m
[Tue, 15. Feb 2022 06:48:50 CET WARN] java.lang.NullPointerException: Cannot read field "f" because "this.tracked" is null
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.nms.v1_17_1_R1.packet.entity.RangeManager.getPlayerInRange(RangeManager.java:32)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.api.model.AbstractModeledEntity.getPlayerInRange(AbstractModeledEntity.java:259)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.nms.v1_17_1_R1.packet.entity.PacketArmorStandB.sendPackets(PacketArmorStandB.java:171)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.nms.v1_17_1_R1.packet.entity.PacketArmorStandB.setRotation(PacketArmorStandB.java:112)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.model.part.MEPartEntity.initialize(MEPartEntity.java:37)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.model.part.MEBasePartEntity.generatePartEntities(MEBasePartEntity.java:228)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.model.MEActiveModel.generatePartEntities(MEActiveModel.java:138)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.api.model.AbstractModeledEntity.addActiveModel(AbstractModeledEntity.java:225)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.model.MEModeledEntity.addActiveModel(MEModeledEntity.java:95)
[Tue, 15. Feb 2022 06:48:50 CET WARN] at ModelEngine-2.4.0.jar//com.ticxo.modelengine.mythicmobs.mechanics.MechanicModel.castAtEntity(MechanicModel.java:69)
Hello, I'm using ArmorStand#setHeadPose to edit my entity rotation.
I created a ModeledEntity ModelManager#createModeledEntity(myArmorStand);
But when I use the method mentioned above the ModeledEntity doesn't change its rotation
If you add another animation state, for example 'outidle' and remove the 'idle' on restart server, 'Idle' returns to the npc states and you have to remove it after every restart.
So i have a custom questplugin running on my server and ME is interrupting it.
It would be great if you could get a fix for that.
Thats what my dev suggested to fix the problem:
com.ticxo.modelengine.nms.v16.EngineNetworkManagerV16: Add this line to the classes constructor "this.channel = this.oldManager.channel" The problem is, that I try to access EntityPlayer#playerConnection#networkManager#channel. This field is null, due to your custom network manager.
You can contact my dev via DC if you encounter any problems or want to discuss something.
DC: Rincewind#2665
when do you guys plan on fixing the packet miss handling
Hi Model Engine Team,
I am contacting you because I run a geyser server and wondering if there is a way for bedrock players to view the custom models? If so, how would I do it?
Thanks,
Ishaan
I use MythicMobs
and my yml:
MyMob:
Type: HORSE
Display: 'Horse'
Health: 10
Drops:
Hello is it possible to attach a model for Example a cooking pot to a block?
When I import the model, there was an error occurred:
I updated to the latest version of model engine R2.5.0 and all my models are no longer working. All of them are Blockbench/Bedrock models but they dont work anymore.
Model Engine R2.5.0
MythicLib 1.3.1
MythicMobs 5.0.3
20.03 16:37:49 [Server] INFO [Model Engine]----Error: Unusable model. Skipping armored_piglin.json.
20.03 16:37:49 [Server] INFO [Model Engine]------Reason: Invalid model format. Please make sure you are using Blockbench Model or Bedrock Entity Model.
20.03 16:37:49 [Server] INFO [Model Engine]--Generating bomb_plant.
20.03 16:37:49 [Server] INFO [Model Engine]--Generating chained_spectre.
20.03 16:37:49 [Server] INFO [Model Engine]--Generating corruptedbird.
20.03 16:37:49 [Server] INFO [Model Engine]----Error: Unusable model. Skipping corruptedbird.json.
20.03 16:37:49 [Server] INFO [Model Engine]------Reason: Invalid model format. Please make sure you are using Blockbench Model or Bedrock Entity Model.
20.03 16:37:49 [Server] INFO [Model Engine]--Generating corruptedtotem.
20.03 16:37:49 [Server] INFO [Model Engine]----Error: Unusable model. Skipping corruptedtotem.json.
20.03 16:37:49 [Server] INFO [Model Engine]------Reason: Invalid model format. Please make sure you are using Blockbench Model or Bedrock Entity Model.
** VERSION
1.19.2 PURPUR
** ERROR
[22:39:18 WARN]: [MythicLib] Loaded class net.citizensnpcs.api.CitizensAPI from Citizens v2.0.30-SNAPSHOT (build 2700) which is not a depend or softdepend of this plugin.
[22:39:24 WARN]: [ModelEngine] Plugin ModelEngine vR3.0.0 generated an exception while executing task 5714
java.lang.NullPointerException: Cannot invoke "com.ticxo.modelengine.api.model.ModeledEntity.tick()" because "<local3>" is null
at com.ticxo.modelengine.api.model.mananger.ModelTicker.run(ModelTicker.java:36) ~[Model-Engine-R3.0.0.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1783]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1783]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[22:39:24 WARN]: [ModelEngine] Plugin ModelEngine vR3.0.0 generated an exception while executing task 5714
java.lang.NullPointerException: Cannot invoke "com.ticxo.modelengine.api.model.ModeledEntity.tick()" because "<local3>" is null
at com.ticxo.modelengine.api.model.mananger.ModelTicker.run(ModelTicker.java:36) ~[Model-Engine-R3.0.0.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1783]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1783]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[22:39:24 WARN]: [ModelEngine] Plugin ModelEngine vR3.0.0 generated an exception while executing task 5714
java.lang.NullPointerException: Cannot invoke "com.ticxo.modelengine.api.model.ModeledEntity.tick()" because "<local3>" is null
at com.ticxo.modelengine.api.model.mananger.ModelTicker.run(ModelTicker.java:36) ~[Model-Engine-R3.0.0.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1783]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1783]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[22:39:28 INFO]: PVPDinoBotsYT No sabía que la colina era tan alta
[22:39:38 INFO]: DinoBotsYT issued server command: /back
[22:39:40 INFO]: DinoBotsYT issued server command: /god
[22:39:47 INFO]: DinoBotsYT issued server command: /mvtp deep_dark_arena
[22:39:52 INFO]: Applied effect Resistance to DinoBotsYT
[22:39:52 INFO]: Teleported DinoBotsYT to 46.806517, 70.800000, 43.675329
[22:39:56 WARN]: [ModelEngine] Plugin ModelEngine vR3.0.0 generated an exception while executing task 5714
java.lang.NullPointerException: Cannot invoke "com.ticxo.modelengine.api.model.ModeledEntity.tick()" because "<local3>" is null
at com.ticxo.modelengine.api.model.mananger.ModelTicker.run(ModelTicker.java:36) ~[Model-Engine-R3.0.0.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1783]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1783]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[22:40:20 INFO]: DinoBotsYT issued server command: /gm 1
[22:40:25 INFO]: DinoBotsYT issued server command: /spawn
Hello, I'm using ArmorStand#setHeadPose to edit my entity rotation.
I created a ModeledEntity ModelManager#createModeledEntity(myArmorStand);
But when I use the method mentioned above the ModeledEntity doesn't change its rotation
Hello. When another plugin renaming a mob or renaming it with a nametag, it causes this error:
https://pastebin.com/kQv4HyNz
This is a wiki repo and it is not for bug reports or feature requests. Please post any bugs or requests on my Discord server.
when specifying a bone as a "head" bone with the "h_" prefix, only the head bone is rotated, and any child bones do not follow its movements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.