Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Ardno

Ardno

Members
 View Profile  See their activity
  • Content Count

    19
  • Joined

    November 21, 2020
  • Last visited

    December 6, 2020

Community Reputation

0 Neutral

About Ardno

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ardno

    [1.16.3] How to calcule line in 3D

    Ardno replied to Ardno's topic in Modder Support

    Ehhh probabbly yes, but in 3d (I only want to rotate with entity's head from A (pitch=0f,yaw=90f) to B (pitch=-10),yaw=5). Can you please send me example, because this mathematical example: is really hard and I don't know how to calculate it and use in real case.
    • December 6, 2020
    • 3 replies
  2. Ardno

    [1.16.3] How to calcule line in 3D

    Ardno posted a topic in Modder Support

    Hello, I'm trying to get the fastest way (line) from one pitch and yaw to another pitch and yaw in 3d space and rotate entity on this line. Is there any way to do this smoothly? Not with jerky movement?
    • December 6, 2020
    • 3 replies
  3. Ardno

    [1.16.4] Synchonous Forge Task

    Ardno replied to Ardno's topic in Modder Support

    On PlayerJoinWorldEvent I start a timer. If the count increase above 1 second. public static void init(EntityPlayer p) { new Timer().schedule(new TimerTask() { @Override public void run() { if(count == 100) { AngleGlide.glide(p, 0f, 0f, 5000, 10); } ++count; } }, 5000, 10); } The AngleGlide move with player's head location, but because Timer is asynchronous, it it did nothing.
    • December 5, 2020
    • 5 replies
  4. Ardno

    [1.16.4] Synchonous Forge Task

    Ardno replied to Ardno's topic in Modder Support

    It's ok?
    • December 5, 2020
    • 5 replies
  5. Ardno

    [1.16.4] Synchonous Forge Task

    Ardno posted a topic in Modder Support

    Hi, I'm trying to do something asynchronous in my mod, but it didn't work, because is asynchronous. This thing is solved in Bukkit using Bukkit scheduler. Is there any way to get something like that? Or is there any way to do asynchronous thing without errors with successfull? Thanks for all replays.
    • December 5, 2020
    • 5 replies
  6. Ardno

    Error code: 2F173/H

    Ardno replied to Ardno's topic in Support & Bug Reports

    Oh sorry, someone tell me, I have to update my mod so I do that, but maybe he/she maybe thought I clone topics. Ok thanks.
    • December 5, 2020
    • 3 replies
  7. Ardno

    [1.12.2] Default Forge Scheduler

    Ardno posted a topic in Modder Support

    Hello, is there any way to get default forge scheduler? It would be something like bukkit scheduler, because if you are doing something asynchnous (such as timers), and call some method with entity(.turn(), .setLocationAndAngles() etc.) it didn't work. But if I do this synchronous, it works. So, is there any way to do this? Thanks for all replays.
    • December 5, 2020
    • 1 reply
  8. Ardno

    Error code: 2F173/H

    Ardno posted a topic in Support & Bug Reports

    Hello, I don't know, this is bug, but if I create a post in Mod Support, after a few minutes it disapeard. Is
    • December 5, 2020
    • 3 replies
  9. Ardno

    Entity#setAngles 1.8.9

    Ardno posted a topic in Modder Support

    Hello, I'm trying to create smoothly camera rotation effect, but method .setAngles(float f1, float f2) didn't work. Where is a problem? Code: public static void glide(EntityPlayer player, float yaw2, float pitch2, int time, int smoothness) { float yaw1 = player.rotationYaw; float pitch1 = player.rotationPitch; double dyaw = (yaw2 - yaw1) / ((double) smoothness); double dpitch = (pitch2 - pitch1) / ((double) smoothness); double dtime = time / ((double) smoothness); try { for (int step = 1; step <= smoothness; step++) { Thread.sleep((int) dtime); player.setAngles((float) (yaw1 + dyaw * step), (float) (pitch1 + dpitch * step)); } } catch (InterruptedException e) { e.printStackTrace(); } }
    • December 5, 2020
    • 1 reply
  10. Ardno

    Error with running mod

    Ardno replied to Ardno's topic in Modder Support

    As I said, I use shadow instead of build, which works perfect, but build taks don't compile me the dependencies. There is a problem. I need to compile the dependencies and is possible use build task.
    • November 27, 2020
    • 10 replies
  11. Ardno

    Error with running mod

    Ardno replied to Ardno's topic in Modder Support

    ok
    • November 27, 2020
    • 10 replies
  12. Ardno

    Error with running mod

    Ardno replied to Ardno's topic in Modder Support

    If I understand your reply, the dependency (sphinx4-data and sphinx4-core) are from repository. Dependencies list: minecraft 'net.minecraftforge:forge:1.16.3-34.1.0' compile 'edu.cmu.sphinx:sphinx4-core:5prealpha-SNAPSHOT' compile 'edu.cmu.sphinx:sphinx4-data:5prealpha-SNAPSHOT' shadow 'edu.cmu.sphinx:sphinx4-core:5prealpha-SNAPSHOT' shadow 'edu.cmu.sphinx:sphinx4-data:5prealpha-SNAPSHOT'
    • November 27, 2020
    • 10 replies
  13. Ardno

    Error with running mod

    Ardno replied to Ardno's topic in Modder Support

    No. In client. I want to build minecraft mod with external gradle dependencies and for this I use a shade plugin, which don't work with running. So is there any possibility to do this?
    • November 26, 2020
    • 10 replies
  14. Ardno

    Error with running mod

    Ardno posted a topic in Modder Support

    Hello, I want to add to mod my external dependency from Gradle. But if I use shadow method instead of build, the mod don't work. ERROR LOG: Caused by: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.getInstance()Lnet/minecraft/client/Minecraft; at cz.ardno.czechvoicecontrol.CzechVoiceControl.<clinit>(CzechVoiceControl.java:19) ~[?:1.0] {re:classloading} at java.lang.Class.forName0(Native Method) ~[?:1.8.0_111] {} at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_111] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.<init>(FMLModContainer.java:61) ~[?:34.1] {re:classloading} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_111] {} at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_111] {} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_111] {} at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_111] {} at net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget.loadMod(FMLJavaModLanguageProvider.java:73) ~[?:34.1] {re:classloading} ... 35 more
    • November 25, 2020
    • 10 replies
  15. Ardno

    Build a mod with jar dependency

    Ardno replied to Ardno's topic in Modder Support

    Oh sorry, I though if I use gradle shade, I put these jars into my jar but with minecraft.
    • November 24, 2020
    • 4 replies
  • All Activity
  • Home
  • Ardno
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community