Return By Death
- 3 Devlogs
- 7 Total hours
This is a minecraft mod, that adds the Return by death ablity of natuki subaru from re:zero This idea was born out of a discord discussion
This is a minecraft mod, that adds the Return by death ablity of natuki subaru from re:zero This idea was born out of a discord discussion
Added a good Demo video to the Readme
Turns out once I ship a project, devlogs after it are not recorded at all, even if they ask me to fix something. but the ship will show the second devlogs time to you only.
I wasn’t plaing to become the spifing brit , but glitches and exploting things are in my nature.
the render that I have attached took me 2 hours to make but my pc can’t run chrome and blender at the same time so another shame. ( IK blender)
Made some changes to how the mod works
Now the mod has two modes
if you want instant return then you have to enable immediate_respawn game rule
or else you will get the death screen telling you to return by death
there are now sfx added to the mod
////Rant
tell me why the hell does minecraft have 2 distinct playsound methods one in server and one in client???
only the client one playes the sound, the server one seemed to nothig and there is no java docs suggesting to use the one over the other and when to use what
I spent 1 hour 30 mins trying to figure this out and then had to resort to asking in the fabric server for help
luckly the community was extreamly helpfull and I fixed the issue
as for the reason why its done this way:
the server method is actually the main method but it does not play the sound for the sender, since its assuemed that the sender could be code or a thing that can’t hear sound
the same method in serverlevel which you get by senderPlayer.level().playSound(@nullable except entity, source entity, SoundEvent, soundevent, SoundCategory soundCategory);
calles two method, one for the sender since we know its the player ( this is a client method in LocalPlayer which extends the AbstractClientPlayer )
and the normal server method which runs for everyone except the sender
this is all fine but tell me why is this not documented
well now it is
The biggest thing was creating the time loop, fortunatly someone had something similar done so, all I had to do was understand their code and then
implement it.
With that done, it was only a matter of some if statement that checked a timer.
the second problem was that if the timer had’nt ended but the player left the world (ie quits the game) the timer will restart again
This was easy to solve as well, since Minecraft also likes to keep track of playtime
and by using mojangs logic I created a custom stat that counted the loop timer.
The Most time was taking by making logo below, 2 hours to be exact but I was’nt able to record it cuz I forgot.
The logo represent the moibus strip : and that death is not the end but start of a new loop.
This was inspired by outer wilds with moibus studios