Filled {REQ}Give netherrack an actual use!

Discussion in 'Archived: Plugin Requests' started by rooster5105, Nov 3, 2013.

  1. Offline

    rooster5105

    Plugin Type: Mechanics
    Plugin Permissions: None
    Suggested Plugin Name: NetherFuel
    So, as I'm sure many of you know, Netherrack is probably the MOST effusive flammable material in the game.

    And Yet, it's practically useless. Structures built from Netherrack are lucky to not collapse under their own weight. So here's my idea for a relatively simple plugin that will actually make Netherrack useful to many players. Seeing as it is a flammable block, why can we not use it as a fuel? It's so effusive that this would create a practically unlimited fuel supply.

    There should probably be three different types of Netherfuel all of which already exist in the game.
    A) Netherrack - Base level of fuel, shortest burn duration e.g., each block is equivalent to a stick.
    B) Netherbrick - Second tier of fuel, medium burn duration e.g., each brick equivalent to 1 piece of coal.
    C) Netherbrick Blocks - Third and final tier of fuel, longest burn duration, e.g., each block is equivalent to one half bucket of lava
    Any Ideas, and/or volunteers?

    When I'd Like to Have it By: Anytime from now to the foreseeable future.
     
  2. Offline

    inventorman101 Retired Staff

    You already can cook netherrack into nether brick I think
     
  3. Offline

    rooster5105

    Aye, you can, but you cannot use it as fuel. Which is the point of this request.

    As I said, all three forms of netherfuel listed in the original post already exist in the game, they just need fuel tags and burn times added to them.
     
  4. Offline

    15987632

    rooster5105 inventorman101 you can
     
  5. Offline

    AndyMcB1

    And how is that useful to the OP?
     
  6. Offline

    15987632

    almost everyblock is flamable
     
  7. I think he wan't netherrack to usable in a furnace, the same way as coal would be used in one.
     
  8. Online

    timtower Moderator Moderator

    Correct *looks at suggested plugin name*
     
    AndyMcB1 likes this.
  9. .... I was saying that to other people who didn't know what they were saying... Lol
     
    timtower likes this.
  10. Offline

    rooster5105

    Absolutely Correct

    So I'm guessing nobody else shares my interest in making a netherfuel? C'est la vie. Can anyone point me in the right direction as to how to mod this myself then?
     
  11. Offline

    Streammz

    Since this is not that hard to do, and I cringe at a lot of replies here, even after taking the time for a well-done post, i'll make it for you.
     
    AndyMcB1 likes this.
  12. Offline

    rooster5105

    Streammz, thank you so much, I appreciate it. And please feel free to release this mod to the masses, as I believe it would be MOST helpful.
     
  13. Offline

    Streammz

    https://dl.dropboxusercontent.com/u/23715006/NetherFuel.jar
    Its so small, I'm not even going to bother placing it on dev.bukkit
    Code:java
    1. package com.streammz.netherfuel;
    2.  
    3. import org.bukkit.Bukkit;
    4. import org.bukkit.event.EventHandler;
    5. import org.bukkit.event.Listener;
    6. import org.bukkit.event.inventory.FurnaceBurnEvent;
    7. import org.bukkit.plugin.java.JavaPlugin;
    8.  
    9. public class NetherFuel extends JavaPlugin implements Listener {
    10.  
    11. @Override
    12. public void onEnable() {
    13. Bukkit.getServer().getPluginManager().registerEvents(this, this);
    14. }
    15.  
    16.  
    17. @EventHandler
    18. public void onFurnaceBurn(FurnaceBurnEvent event) {
    19. switch (event.getFuel().getType()) {
    20. case NETHERRACK:
    21. event.setBurnTime(5 * 20);
    22. break;
    23. case NETHER_BRICK_ITEM:
    24. event.setBurnTime(80 * 20);
    25. break;
    26. case NETHER_BRICK:
    27. event.setBurnTime(500 * 20);
    28. break;
    29. }
    30. }
    31.  
    32. }
    33.  

    See this as my appreciation for not being part of the cringe-worthy side of the community
     
  14. Offline

    rooster5105

    Thank you again Streammz!

    If I feel that the burn times need tweaking or anything, is it okay for me to modify and re-release on devbukkit?

    You'll get full credit of course.
     
  15. Offline

    Streammz

    Yeah, sure! Feel free to use it for whatever desire you have.
    All I did was pick the seconds from here, and * 20 (20 ticks per seconds on minecraft).
     
  16. Offline

    rooster5105

    Nice, thank you again. I may also have to try and find the actual fuel listings as far as the core game is concerned and add them there if I want to do things like automatic smelting, or is that handled just by giving them the ability to be fuel? (I tried shift-clicking the blocks into the furnace burn slot like coal or charcoal, and it didn't work) Any tips on that?
     
  17. Offline

    bc112354

    You can automatic smelt with a hopper rig.
     
  18. Online

    timtower Moderator Moderator

    Patience is key in this forums, and people have to like the request before they make it, also: http://dev.bukkit.org/bukkit-plugins/more-fuels/
     

Share This Page