-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
entity cooldown manager rewrite and bugfixes
end server tick callback bug fixes and rewrite general cleanup
- Loading branch information
Showing
11 changed files
with
220 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
|
||
|
||
hip lantern? | ||
|
||
light enchantment? glowstone ash and ghast tear paste to become an armor trim instead? | ||
|
||
torches burn out and can only be relit twice, after that they turn to ash | ||
|
||
ash | ||
|
||
glowing armor trim | ||
|
||
refil lanterns with phantom membrane, and have 3x slower burn rate | ||
|
||
glowstone paste of some kind to augment equipment with light, vanishes on repair and grindstone | ||
|
||
render a grue face just out of lantern light range staring at the camera, with the lantern just inside view to the left for the mod icon | ||
|
||
option to use entity vs nothing per dimension in config | ||
|
||
"tutorial" message first time player gets "Its pitch black, you are likely to be eaten by a grue." then cooldown, and 50% every time you enter darkness, until you get it, then cooldown then chance reduces to 15%, until message has appeared 10 times, then disable message | ||
|
||
setup gamerules for select config options | ||
|
||
fade light level | ||
|
||
particle eyeball monster that lurks in the darkness, multiple floating eye segments? eye stalks? | ||
|
||
fix readme, that last line is kinda cringe | ||
|
||
add button on worlds menu to recalculate all blocks lighting, potentially dangerous with non vanilla, so throw up a warning, this "solves" the lighting artifacts when changing lighting values without needing too much cpu power in game, should only be used when editing these values or when converting world to pandora since all lighting values are cached | ||
|
||
spawn a light generating whisp when respawning, it lasts 2 minutes and follows the player, or until the player enters the light | ||
|
||
so, i just make a block entity, make it extend the block its replacing, and | ||
slip that into the original registry call? | ||
|
||
effectively, but you have to redirect the original call (or wrap it) since if | ||
it calls the original constructor, an intrusive holder is created |
17 changes: 0 additions & 17 deletions
17
src/main/java/pkg/deepCurse/pandora/core/CustomDamageSources.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/main/java/pkg/deepCurse/pandora/core/GrueDamageSource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package pkg.deepCurse.pandora.core; | ||
|
||
import net.minecraft.entity.damage.DamageSource; | ||
|
||
public class GrueDamageSource extends DamageSource { | ||
protected boolean fire; | ||
public static final DamageSource GRUE = new GrueDamageSource("pandora.darkness"); | ||
|
||
protected GrueDamageSource(String name) { | ||
super(name); | ||
} | ||
|
||
protected GrueDamageSource setFire() { | ||
this.fire = true; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.