Giter VIP home page Giter VIP logo

model-engine-wiki's Introduction

This wiki is archived. Visit the new wiki here.

Alt Credits: ForrestBono(content creator), Painful(content creator)

Model Engine

Model Engine is a Minecraft plugin that breaks the barrier of entity modeling and allows you to create mod-like models, animate them, and give complete control to its animation. You may have heard of a plugin named ModelAPI, a modeling plugin that requires you to have basic knowledge of java and coding plugins. Model Engine, however, completely removed the need for coding anything. In other words, you are free to create anything, without knowing java!

Supported Version

Currently, Model Engine supports Minecraft 1.14 to 1.19. If you want 1.13 or below, check out ModelAPI.

Installation

  1. Download Model Engine
  2. Place the plugin jar file into the plugins folder of your server
  3. Happy modeling

Wiki

Click here to start your modeling journey.

API

Latest Version

<repository>
  <id>nexus</id>
  <name>Lumine Public</name>
  <url>https://mvn.lumine.io/repository/maven-public/</url>
</repository>

<dependency>
  <groupId>com.ticxo.modelengine</groupId>
  <artifactId>api</artifactId>
  <version>Check above</version>
  <scope>provided</scope>
</dependency>

Demo

You can download the demo files for the model and MythicMobs here.
KindletronJR [Model] [Mob YML] [Skill YML]
Scarecrow (Naoxia) [Model] [Mob YML]
Kindletron Senior (LittleRoomDev) [Download]

Bug Reports, Feature Requests, Plugin Support, Community, and Marketplace

Join our Discord. It's free, and you can socialize with other users!

model-engine-wiki's People

Contributors

0ffz avatar realflamegirl avatar ticxo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

model-engine-wiki's Issues

bug

** 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

Can't get up on a Horse with Custom Horse Model

I use MythicMobs
and my yml:
MyMob:
Type: HORSE
Display: 'Horse'
Health: 10
Drops:

  • exp 10
  • GOLD_INGOT 1
    Options:
    MovementSpeed: 0.2
    HorseTamed: true
    HorseSaddled: true
    Skills:
  • model{mid=MyMob;n=true;drive=true;ride=true} @self ~onSpawn

3.0.0 beta issue

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.

Mounting

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

important render issues with models. (also another smaller issue

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.

PartVisibility doesn't work

This is by Creeper Pack Volume 3 I bought.
image

` - model{m=creeper_beach;n=false} @self ~onSpawn

  • potion{type=INVISIBILITY;delay=1;l=1;force=true} @self ~onSpawn

Enchant the armor

  • enchant{m=creeper_beach;pid=armor;en=true;em=false} @self ~onSpawn

Hide the armor on spawn

  • partvisibility{m=creeper_beach;p=armor;v=false;em=false} @self ~onSpawn

Show the armor on charge

  • partvisibility{m=creeper_beach;p=armor;v=true;em=false} @self ~onCharged`

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.

image

Error in schedule

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)

NPC trait state no save after restart server

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.

Attack animation not playing

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.
image

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
image
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.

Error when loading models

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.

Bedrock Model Viewing

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

Creature Spawn event Worldguard

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

Questplugin fix

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

Could not pass event ChunkLoadEvent to ModelEngine vR1.0.9

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) [?:?]


[Suggestion] Oraxen resource pack compatibility

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.

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.