Jump to content

MultiMote

Forge Modder
  • Posts

    257
  • Joined

  • Last visited

Posts posted by MultiMote

  1. What would happen when client will not send "stop firing" packet? For exaple, player starts firing and he is kicked from server / minecraft or computer is crashing.

     

    I think sending packets with specific rate when player holds item&button is better. How vanilla does.

     

  2. Hello everyone. I have a question. I need to transfer binary files from server to client.

     

    After studying the Minecraft code, I came to the conclusion that Minecraft downloads custom resourcepack from server via http, there is method ResourcePackRepository#func_148528_a:

     

    width=800 height=433http://up42.ru/u/p/2015-01-10_10.55.43.png[/img]

     

    So, what can I do? How to send request to server? How to share required files on server?

    Thanks and sorry for my language mistakes.

  3. biglogo.png

     

    This mod brings snow flakes in any Minecraft GUI.

    It's rewrite of my very old project.

     

    Screenshots:

     

     

    first.png

     

     

     

     

     

    second.png

     

     

     

    Features:

    • configurable snow flake count
    • configurable GUI list
    • snow flakes rotation
    • snow flakes avoid mouse
    • it's awesome

    Config stored in com.multimote.snowtime.Config, you MUST compile mod to change it.

     

     

    Releases: HERE

    Github repo: HERE

     

    I'm lazy and I want to download it now:

    [1.7.10] SnowTime-1.0.1

  4.     public static Vec3 getPointUsingAnglesRange(Vec3 start, float yaw, float pitch, float range){
            double coordX = start.xCoord + (double) (-MathHelper.sin(yaw / 180.0F * (float) Math.PI) * MathHelper.cos(pitch / 180.0F * (float) Math.PI) * range);
            double coordY = start.yCoord + (double) (-MathHelper.sin(pitch / 180.0F * (float) Math.PI) * range);
            double coordZ = start.zCoord + (double) (MathHelper.cos(yaw / 180.0F * (float) Math.PI) * MathHelper.cos(pitch / 180.0F * (float) Math.PI) * range);
            return Vec3.createVectorHelper(coordX, coordY, coordZ);
        }
    

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.