Vswe's Summer Courses | You're not logged in. Sign up or log in | Server time: | Donate
One can now see other persons' badge hunts. Simply head over to their profiles to access them.

Go back to sub forum page

General forum

Non-course related subjects

4. Mod discussion

[ModJam] Mobile Base Mod

  • 2014-02-04 23:24:37
    Hey,

    Mobile Base is a mod I made for ModJam and it basically allows you to take a part of your base along with you in the form of a tent.

    You get a tent which you can place down, upon placing down a structure will generate depending on the tent and you can place blocks down inside the tent. When you break any block that was part of the original structure, the whole tent will break spawning a item version of the tent. Allowing you to carry it around, until you need a place to stay.

    It use to work via pre assigned tent structures, but I have just finished getting it so you can have custom tents. It is almost ready for release, but I am currently beta testing it. So if you want to test out the mod, then feel free to download it using the link below.

    If you do download it, after playing with it. Please can you leave some feedback on things you like or don't like and any bugs you ran into. Cheers.

    How to use: http://www.youtube.com/watch?v=xfhW-_Vw2_U

    Download (1.6.4): https://www.dropbox.com/s/t847386kozjgv20/MobileBase%202.0.zip

    DrunkMafia

    P.S I wrote this on my phone so sorry for any typos.
  • 2014-02-05 12:42:30
    As for bugs there are just a few issues.

    When you try to right click block builder it's trying to place a block, you probably return false there or there's client-server difference. You also can't open gui when you're too close and have block in hand:

    Like this: http://imageshack.com/a/img843/5812/72gf.png

    If you make the tent too large rendering breaks a little:
    http://imageshack.com/a/img163/5096/w30u.png

    Did you try to save entities within the tent? Since now stuff like item frames or paintings will remain after tent is destroyed.

    There are some between-mod interactions like crashes if you have eg. Thaumcraft's Compount Recharge Focus inside.

    Also you can equal-trade wool from the tent, but it's restored after tent is replaced.

    http://imageshack.com/a/img560/541/0u4n.png

    But since you can do stuff like this: http://imageshack.com/a/img843/1305/7zzr.png

    and nothing breaks i'd say nice job.

    It seems like a perfect mod for me, since when i play on a server i'm used to moving my base like once a week ;p
  • 2014-02-05 12:46:01
    Read the description: awesome :D, still havent made a mod myself...
  • 2014-02-05 14:27:11
    Thanks for the feedback Kocyk, I know about the Opening GUI issues. I've just been more focused on other things and forgot about it, also I derped up on the size limit. I was orginally going to have it so that the biggest tent you could get would be a 11 X 11, which would stop the tent from being abit OP and the rendering breaking due to the size.

    Also about between mod interaction, this is a huge issue that I have been looking to fix and still am. These errors are caused by the way I am breaking the blocks on the inside, I need to remove their tileentity before I break the blocks, otherwise blocks like furnaces or chests will drop their contents. Causing Item Dupeing, so I am currently looking for a way I can break a block without the onBlockBreak or preBlockDestory being called. Which causes a null pointer when the block tries to call it's tileentity which does not exist anymore.
  • 2014-02-05 14:27:19
    Thanks mielleman.
  • 2014-02-05 14:37:26
    Also Kocyk, I have entity saving it's just not enabled. Because any entity that is an instanceof EntityHanging, after being replaced in the world. The entity will wait a couple ticks before dropping as an item.
  • 2014-02-05 14:38:42
    However, i read your forum, doesnt open source mean someone can redistrubute the code?
  • 2014-02-05 14:42:54
    But anyway, if you ever need any help maintaining your mods, call me xD
  • 2014-02-05 15:02:12
    I'm looking into removing the block though the chunks blockStorage
  • 2014-02-05 16:32:26
    You could try to use Java Reflection to instead of removing tile entity replace it with an empty one of the same class.

    Not sure if that would work, i'll try to check it out.
  • 2014-02-05 16:46:49
    Did some quick testing and i've managed to remove contents of a chest by replacing it's tile entity with an empty one using reflection. You should look into that.
  • 2014-02-05 18:36:56
    Hmmm, that could work. But I found the the method that called preDestory, the blocks are removed inside the chunk. So I can just bypass that and remove the block myself from the chunk, without all the other methods being called.
  • 2014-02-05 19:03:12
    Kocyk, I'm trying your suggestion now.
  • 2014-02-05 19:04:22
    Well, it works from what I see so far. Going to try it with some mods.
  • 2014-02-05 20:31:55
    Works with most mods, TE not being one that works though.
  • 2014-02-05 21:41:50
    TE:thermal expansion?
    Do ic2 power systems work? Like MFSU-cable-machine
  • 2014-02-05 22:30:27
    Yeah, TE do not like their blocks being broke and IC2 works.
  • 2014-02-09 22:28:26
    There we go, 2.0 is now finished and released: http://www.minecraftforum.net/topic/2265610-modjamforge164-mobile-base-released
  • 2014-02-13 04:05:36
    This mod is really cool, how much did you finish in the 96 hours for ModJam and how much came after that?
  • 2014-02-13 12:39:39
    armytag: I completed the tent saving and breaking, however you only had a single tent which was the small tent and whats come after Modjam was a whole re-work of the system so you could make your own custom tents and also the mod is now more other mod friendly.
  • 2017-06-27 15:17:58
    <a href=http://budafokibolgarok.hu/?option=com_k2&view=itemlist&task=user&id=2521>http://budafokibolgarok.hu/?option=com_k2&view=itemlist&task=user&id=2521</a>
    <a href=http://oogis.ru/index.php/en/forum/user/40166-dustymcclung72>http://oogis.ru/index.php/en/forum/user/40166-dustymcclung72</a>
    <a href=http://magiadeamor.co/index.php/forum/welcome-mat/1668-easier-parental-internet-helper-3-1>http://magiadeamor.co/index.php/forum/welcome-mat/1668-easier-parental-internet-helper-3-1</a>
    <a href=http://www.birzuligonine.lt/?option=com_k2&view=itemlist&task=user&id=3670>http://www.birzuligonine.lt/?option=com_k2&view=itemlist&task=user&id=3670</a>
    <a href=http://thesalvation.co.uk/index.php/forum/user/18087-rustyheld288216>http://thesalvation.co.uk/index.php/forum/user/18087-rustyheld288216</a>
  • Log in or sign up to reply to this thread