darkhax-minecraft / bed-benefits Goto Github PK
View Code? Open in Web Editor NEWAdds some benefits to beds in Minecraft.
License: GNU Lesser General Public License v2.1
Adds some benefits to beds in Minecraft.
License: GNU Lesser General Public License v2.1
Crash log: https://paste.ee/p/JxNmv
net.darkhax.bedbenefits.BedBenefits.onPlayerWakeUp(BedBenefits.java:37)
If relevant I have natural regeneration game rule turned off for this world, I like the challenge! This mod seemed appropriate to add an early game heal
if you just leave bed before sleeping thru you still get healed making this a infinite heal glitch
Currently, the player is healed but should also be more hungry.
Is it in radar?
If not, can other modder fork the repo to make a Fabric port himself?
Thanks in advance for this mod!
Would it be possible from your end to add compatibility between Bed Benefits and Hourglass?
Currently, having the 2 mods installed, causes Bed benefits to not heal the player.
I'm on 1.19.2, I don't know if other versions are compatible.
Kind regards,
Nycto
Crash Report UUID: 1615dca4-73a5-4b3b-b35f-e74367718b93
When I open the sleep on the traveler's backpack sleeping bag I lay down and the screen fades, but as the screen goes black and the switch to day should happen the game crashes. Here is the crash report info. I will have opened a new issue on the Traveler's Backpack mod page as well.
Time: 1/16/22 11:59 AM
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: net/darkhax/bookshelf/util/EntityUtils
at net.darkhax.bedbenefits.BedBenefits.onPlayerWakeUp(BedBenefits.java:47) ~[?:5.0.3] {re:classloading}
at net.darkhax.bedbenefits.BedBenefits$$Lambda$3370/488576416.accept(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$3016/1225926739.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$
crash-2022-01-16_11.59.40-server.txt
3222/1716832781.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.event
bus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPlayerWakeup(ForgeEventFactory.java:481) ~[?:?] {re:classloading}
at net.minecraft.entity.player.PlayerEntity.func_225652_a_(PlayerEntity.java:1259) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:tlskincape:PlayerEntityTransformer,re:computing_frames,pl:accesstransformer:B,xf:fml:tlskincape:PlayerEntityTransformer,re:classloading,pl:accesstransformer:B,xf:fml:tlskincape:PlayerEntityTransformer,pl:mixin:APP:betterendforge.mixins.json:PlayerEntityMixin,pl:mixin:A}
at net.minecraft.entity.player.ServerPlayerEntity.func_225652_a_(ServerPlayerEntity.java:820) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:ServerPlayerEntityMixin,pl:mixin:A}
at net.minecraft.entity.player.PlayerEntity.func_213366_dy(PlayerEntity.java:1269) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:tlskincape:PlayerEntityTransformer,re:computing_frames,pl:accesstransformer:B,xf:fml:tlskincape:PlayerEntityTransformer,re:classloading,pl:accesstransformer:B,xf:fml:tlskincape:PlayerEntityTransformer,pl:mixin:APP:betterendforge.mixins.json:PlayerEntityMixin,pl:mixin:A}
at vazkii.quark.content.tweaks.module.ImprovedSleepingModule$$Lambda$13614/270612983.accept(Unknown Source) ~
I've noticed that the mod's mechanics have a feature where hunger is removed when healing and removing effects if necessary. I've noticed though that the saturation however doesn't decrease with the hunger, creating this weird effect of having saturation higher than your current hunger (Shouldn't be possible in normal play).
If possible, I think modifying the saturation if it's over the limit to the value the hunger was set to would be a good way to counteract it.
Effects are also cleared simply by getting in and out of bed
Forge 1.20.1
Saw bed benefits hasn't been update in almost a year on forge... but has been recently update on fabric? Is it dead on forge?
Can the mod effect the player if the sleep percent isn't met? Meaning if the player interacts with the bed, but night doesn't pass due to not having enough players sleeping, does any of the mod take effect? I'm looking to make a multi-player server where sleeping to pass the night is disabled.
When will version 1.20.1 of this mod come?
the game only crashes when i try to sleep with the mod, the version is 1.16.5 and I cant sleep because it crashes, I've tried to restart Minecraft but it wont work, I also have the right forge installer but it still wont work. very confused by this.
1.16.5
5.0.5
Forge
Client
My game crashes every time I wake up or leave a bed ingame
Waking up at a reasonable time is weird for me ig
I have encountered an issue with one of my effects and i know of at least a few other effects that have the same problem.
The problem with my effect is that it does nothing until the very end (remaining duration = 2). Unfortunately Bed Benefits simply removes all effects before they can perform their effect.
My question would be if it would be possible for Bed Benefits to not simply remove all effects, but instead setting the duration to minimum value. Or another solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.