-

Discussion in 'Resources' started by zombiekiller753, Jul 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
    Skyost, Scullyking, jpjunho and 2 others like this.
  2. Offline

    LordVakar

  3. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  4. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
    ampayne2 likes this.
  5. Offline

    Scullyking

    Random stuff, yayay
     
  6. Offline

    malandrix_bunny

    Add stuff to main post instead of making another?
     
    NonameSL and KingFaris11 like this.
  7. Offline

    Bammerbom

    zombiekiller753
    Cant you use blaze.setFireTicks for the burning effect?
     
  8. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  9. Offline

    Onlineids

    zombiekiller753 Blazes are immune to fire so wouldn't it be the same thing.
     
  10. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  11. Offline

    Onlineids

  12. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  13. Offline

    xTrollxDudex

    Recognize that there's no one that will do this...
     
    Garris0n, Skyost and TheSpherret like this.
  14. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  15. Offline

    ChipDev

    Love this random post, it gets peoples creativity on.

    Code:Java
    1. getServer().getPluginCommand("Test").
    2. setPermissionMessage(ChatColor.BLUE + "No!");

    Set permission message ^^

    Oh no almost out of ideas. Be back in a jiffy when i check teh JD'z. and teh internetz.
    :D

    Code:java
    1. Entity bat = e.getPlayer().getWorld().
    2. spawn(e.getLocation, Bat.class);
    3.  
    4. bat.setPassenger(e.getPlayer());

    Fly around on a bat ^^

    Code:java
    1. //when player types /troll (args)... (Don't want to have to do onCommand :p)
    2.  
    3. if(args.length == 1) {
    4. if(args[0] != null) {
    5. Location loc = getServer().getPlayer(args[0]).getLocation().subtract(0,1,0);
    6. Block block = args[0].getWorld().getBlockAt(loc);
    7. block.setTypeId(9); //Lava!
    8. }
    9. }
    10.  

    ^^ Don't want to know.

    These are stupid ideas, that have no testing. Don't get mad if they don't work, I just put them down. :p
     
    codex01 likes this.
  16. Offline

    Jalau



    Don't want to say thats useless, but actually this is just code which doesn't require a post in the resource section, also this thread is meant for nms = net.minecraft.server = no Bukkit API Code :)
     
  17. Offline

    ChipDev

    Jalau
    Didn't see [NMS] oops :p
     
  18. Offline

    Necrodoom

    Wouldnt setFireTicks be prefered here though? Being non-NMS and accepting a time argument.
     
  19. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  20. Offline

    _Filip

    AoH_Ruthless likes this.
  21. Offline

    RawCode

    everything rendered clientside, it will be much more effective to sent entity update packet to specific player, then setting global state of entity.
    this allows to "make endermen\wolf\anything angry\change color\animation\collar" without actually changing internal state and behaivior of entity.
     
  22. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
  23. Offline

    Qukie

    You can refresh the stroll path of a Entity that inherits from EntityCreature by invoking the (Snapshot: 1.7.10-R0.1) method "bQ". It'll try 10 times to find a random point (max distance: 6 blocks horizontally and 3 blocks vertically) and weight the cost to walk there. If a point was found a new path will be calculated, which will be your new stroll path... I guess that no one will ever use this(Can you beat the useless level? ;)).
     
  24. Offline

    xTrollxDudex

    Object useless = entity.a;
     
    Skyost likes this.
  25. Offline

    Garris0n

    Object useless;
     
    Skyost and xTrollxDudex like this.
  26. Offline

    zombiekiller753

    -
     
    Last edited: Jan 20, 2015
    Skyost, Jalau and Garris0n like this.
  27. Offline

    Plugers11

    How can i do more range go to location of mob ? with NMS
     
Thread Status:
Not open for further replies.

Share This Page