Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[1.2.5] Somnia [SSP|ML] (1.4.x WIP)

1.2.5 ssp function

  • Please log in to reply
1783 replies to this topic

#1

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 06:51 PM

*
POPULAR

Announcement: Somnia has been updated by another developer here.

Special FAQ:

Q: Why hasn't Somnia been updated to 1.4/1.5/1.x?
A: I don't have Internet at home.  (Update: it has.)

Q: Why do you need Internet to work on the mod?
A: To research while I'm coding.  The client/server model changed dramatically in 1.3, and I want to be able to refer to APIs, changelogs, and tutorials.

Q: Why don't you have Internet at home?
A: I just moved into a new house.  The previous owners had AT&T DSL, but when I tried to sign up, AT&T said they are at "maximum capacity."  AT&T is the only provider in this area.  They've assured me they have plans to expand, but they haven't given me any timeline.  My only choice is to wait.

Q: What about getting a wireless hotspot?
A: The wireless coverage in my area is terrible.  I can make phone calls, but the data transfer rate is basically unusable.

Q: What about satellite Internet?
A: That is expensive, capped, and cuts out when it rains.  In short, it sucks.  We also just had a baby, so I'm trying to keep monthly expenses to a minimum.

Q: How are you visiting the forums if you don't have Internet?
A: I visit the forums from work.  This also explains why I don't reply on weekends.

Q: Why don't you release the source code so someone else can update Somnia?
A: Mainly because it wouldn't help.  Because of the changes that occurred in 1.3, I have to rewrite the mod from scratch.  The source code for the 1.2.5 version is completely worthless.  Anyone else is welcome to rewrite it from scratch, as I hope to do eventually.

Q: Would donating money help?
A: I can't think of a way that it would, but thanks for offering.  When AT&T refused me service, I told them, "Gee, that's too bad.  I would love to give you money."  Money is not the problem.

Original post follows.
------------------------------------

Somnia completely changes how sleeping works in Minecraft.  It has been included in YogBox (with permission) and mentioned in PCGamer, which is pretty sweet.

Download
  • v24 [1.2.5] - Download (adfly) - Released Apr 15, 2012
    • Added configuration option that controls which difficulties prevent you from sleeping in armor.
Archive of previous versions:
Spoiler:

Requirements News
  • Mar 12, 2013: For those who have not been following the topic, development is stalled.  Even with a local dev environment, the lack of internet access is crippling.  However, I've filed an issue with Mojang for their mod API (MCAPI).
  • Dec 10, 2012: I managed to set up a dev environment even without an internet connection.  It looks like I'll be able to get the mod working with a combination of the PlayerInteractEvent and the PlayerSleepInBedEvent.
  • Nov 27, 2012: I still don't have internet access at home after the recent move.  I can visit the forum from work, but obviously I can't work on Minecraft mods here.  Meanwhile, Forge has added something I think I can use, but I won't know until I can check out the code... which of course requires an internet connection.
  • Oct 29, 2012: I am still waiting for my submission to be included in Forge.  I also don't have an internet connection at home (more details here and here), which pretty much prevents me from doing any work.
  • Sep 11, 2012: I think I've overcome the learning curve, but Minecraft Forge didn't quite offer the functionality I need for multiplayer support.  I've submitted code to Minecraft Forge and am waiting for its inclusion.
  • Aug 22, 2012: The update for Minecraft 1.3 is delayed indefinitely while I try to figure out multiplayer support and the new Forge (read more).
  • Aug 04, 2012: The update for Minecraft 1.3 will come soon after MCP, ModLoader, and Minecraft Forge all get updated.  Barring any huge problems, this does mean that Somnia will finally work in multiplayer.
  • Apr 15, 2012: Somnia v24 [1.2.5] released! (announcement)
News Archive:
Spoiler:

Features
  • Simulates the world: While you're sleeping, the world continues as if you are standing idle the whole time.  Crops and trees will grow, smelting continues, weather progresses, mobs are active (even mobs added by other mods), and dropped items decay.  You also heal an amount based on how long you've spent sleeping and the difficulty setting, but you'll also grow hungry.  The simulation will take a few moments.
  • No sleep-triggered monster spawns: Monsters spawn normally and may still attack you in your sleep, but only if they can actually reach you.  No more worrying if your bed is in an "unsafe" location.  If you'd be safe while awake, you'll be safe while asleep.
  • Sleep/wake at any time: Sleep any time, day or night.  Wake automatically at the next dawn/dusk or manually at any time.  If you have a Clock item in your hand, you can choose when you wake from among 16 options throughout the day.
  • Control your spawn point: Before you sleep, you can choose whether or not sleeping will reset your spawn point.
  • Maximum compatibility: This mod doesn't add any new Block or Item IDs.  It just changes the behavior of the native bed.  It will not corrupt your save files, and it is compatible with most other mods.  It also disables itself in multiplayer.
Installation
ModLoader only:
  • Download ModLoader and install it into your minecraft.jar file.
  • Run Minecraft and make sure it still works.  If not, reinstall ModLoader and make sure you didn't miss any steps (like removing the META-INF folder).
  • Copy the contents the Somnia ZIP into your minecraft.jar file.
  • Enjoy!
ModLoader + Minecraft Forge:
  • Download ModLoader and Minecraft Forge and install both into your minecraft.jar file.
  • Run Minecraft and make sure it still works.  If not, reinstall ModLoader and Minecraft Forge and make sure you didn't miss any steps (like removing the META-INF folder).
  • Copy the Somnia ZIP into .minecraft/mods.
  • Enjoy!
Configuration
Spoiler:

Screenshots
Spoiler:

Videos
Spoiler:

Mod Packs Featuring Somnia
Spoiler:

Mod Compatibility
Spoiler:

Known Issues
Spoiler:

FAQ
Spoiler:

Show Support
Show your support by placing this badge in your signature:
Posted Image

[url=http://www.minecraftforum.net/topic/162771-#entry2487926][img]http://img695.imageshack.us/img695/4560/somnia.png[/img][/url]

Or make a donation:
Posted Image

Development Checklist
Spoiler:

Copyright/License
Spoiler:

SDG
Posted Image Simulate the world while you sleep.

Register or log in to remove.

#2

NightmareX91
  • Location: England
  • Minecraft: NightmareX91

Posted 12 February 2011 - 06:52 PM

Screenshots ingame or no download :3

Posted Image


#3

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 06:55 PM

It's not finished yet.  Plus, a screenshot doesn't capture the passage of time very well.
Posted Image Simulate the world while you sleep.

#4

NetBlitzer
  • Minecraft: NetBlitzer

Posted 12 February 2011 - 06:58 PM

You could use my craft grid to make it more realistic looking in the recipe?

#5

Tassadaritze
    Tassadaritze

    Lapis Lazuli Collector

  • Curse Premium
  • Curse Premium
  • 1062 posts
  • Location: Somewhere in the sands of time.
  • Minecraft: Tassadaritze
  • PSN:Tapki008

Posted 12 February 2011 - 06:58 PM

NightmareX91 said:

Screenshots ingame or no download :3
You found a download link? GIMME!

#6

IronicRacistHipster

Posted 12 February 2011 - 07:00 PM

Agreed. Either provide screenshots of the mod that you haven't finished, or I won't click the nonexistent download link and install it.
Posted ImagePosted ImagePosted Image

#7

IronicRacistHipster

Posted 12 February 2011 - 07:01 PM

This forum is literally full of the worst people, myself included.
Posted ImagePosted ImagePosted Image

#8

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 07:04 PM

I've updated the topic subject so it's clear that this mod is not finished.
Posted Image Simulate the world while you sleep.

#9

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 07:08 PM

NetBlitzer said:

You could use my craft grid to make it more realistic looking in the recipe?
I'm not sure I want it to be dependent on other mods.  Also, this is my first foray into Minecraft modding.  I don't want to overextend myself or it'll never get finished.
Posted Image Simulate the world while you sleep.

#10

Chris209
  • Minecraft: Chris209

Posted 12 February 2011 - 07:12 PM

You should make a picture to put in our signatures for us to support it and to pass it around so everybody knows.

Posted Image
A double resolution texture pack that stays faithful to the original Minecraft textures.


#11

MrT0xicfly

Posted 12 February 2011 - 07:13 PM

Can't wait until its finnished!!  :)
Posted ImagePosted ImagePosted Image

#12

Tiramo
    Tiramo

    Lapis Lazuli Collector

  • Members
  • 969 posts
  • Location: Netherlands
  • Minecraft: Tiramo

Posted 12 February 2011 - 07:16 PM

Is something wrong with my eyes or do I see no download link...
Hmmm, maybe that creeper :D sees it, I'll ask it him,
.................
You know what's gonna happen next...
........... :Skeleton: .............
Well, I'll be off re-building my house...
Censorship is telling a man he can't eat steak, just because a baby can't chew it.

#13

NetBlitzer
  • Minecraft: NetBlitzer

Posted 12 February 2011 - 07:19 PM

Make it a [WIP] instead of a [MOD]. That way, people won't be asking for download links always. And you will probably have to be dependent on modloader probably. People like it when things are compatible.

#14

Parablank
  • Minecraft: Parablank

Posted 12 February 2011 - 07:33 PM

Suggestion:

Don't allow to spam sleep.
Nope.

#15

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 07:35 PM

NetBlitzer said:

Make it a [WIP] instead of a [MOD]. That way, people won't be asking for download links always. And you will probably have to be dependent on modloader probably. People like it when things are compatible.
Already done.  Thanks.
Posted Image Simulate the world while you sleep.

#16

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 07:49 PM

Chris209 said:

You should make a picture to put in our signatures for us to support it and to pass it around so everybody knows.
Good idea.  Here's an image I just threw together that you guys can use.
Posted Image
Posted Image Simulate the world while you sleep.

#17

Chris209
  • Minecraft: Chris209

Posted 12 February 2011 - 08:00 PM

MALfunction84 said:

Good idea.  Here's an image I just threw together that you guys can use.
Posted Image
Could you give us and url to put in our signature...
For Example: your signature (Like when you click on the picture it brings you to the thread)
If you don't understand look at my signatures. They are signatures of what I just said.(The thing about clicking on a picture and brings you to thread)

Posted Image
A double resolution texture pack that stays faithful to the original Minecraft textures.


#18

cinnamonClove

Posted 12 February 2011 - 08:03 PM

Oh wow, you got me interested.
This totally isn't because I'm too lazy to actually let my crops grow.
Posted Image        Posted Image

#19

MALfunction84
  • Location: USA
  • Minecraft: MALfunction84

Posted 12 February 2011 - 08:04 PM

Chris209 said:

Could you give us and url to put in our signature...
For Example: your signature (Like when you click on the picture it brings you to the thread)
If you don't understand look at my signatures. They are signatures of what I just said.(The thing about clicking on a picture and brings you to thread)
Yeah, just use the URL for my initial post in this topic:
viewtopic.php?f=25&t=176264#p2546729
Posted Image Simulate the world while you sleep.

#20

Derekjohn3
  • Location: My chunk.
  • Minecraft: Derekjohn3
  • Xbox:Derekjohn3

Posted 13 February 2011 - 12:10 AM

Great work dude but i will only download when i can wake voluntarily.