Index

A B C D E F G H I L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

activeEvent - Variable in class com.mrbysco.lunar.LunarPhaseData
 
ALLOW - Enum constant in enum class com.mrbysco.lunar.handler.result.EventResult
 
applyEntityEffect() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event checks if it can apply an effect to entities.
applyEntityEffect() - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
applyEntityEffect(Entity) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event tries to apply an effect to an entity.
applyEntityEffect(Entity) - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
applyPlayerEffect() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event checks if it can apply an effect to players.
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.BigMoonEvent
 
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.HeroMoonEvent
 
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.MinerMoonEvent
 
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
applyPlayerEffect() - Method in class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
applyPlayerEffect(Player) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event tries to apply an effect to a living entity.
applyPlayerEffect(Player) - Method in class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
applyPlayerEffect(Player) - Method in class com.mrbysco.lunar.registry.events.BigMoonEvent
 
applyPlayerEffect(Player) - Method in class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
applyPlayerEffect(Player) - Method in class com.mrbysco.lunar.registry.events.HeroMoonEvent
 
applyPlayerEffect(Player) - Method in class com.mrbysco.lunar.registry.events.MinerMoonEvent
 
applyPlayerEffect(Player) - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
applySpawnEffect() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event checks if it can apply an effect to living entities upon spawn.
applySpawnEffect() - Method in class com.mrbysco.lunar.registry.events.BloodMoonEvent
 
applySpawnEffect(LivingEntity, MobSpawnType) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event tries to apply an effect to a living entity upon spawn.
applySpawnEffect(LivingEntity, MobSpawnType) - Method in class com.mrbysco.lunar.registry.events.BloodMoonEvent
 

B

BadOmenMoonEvent - Class in com.mrbysco.lunar.registry.events
 
BadOmenMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
BigMoonEvent - Class in com.mrbysco.lunar.registry.events
 
BigMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.BigMoonEvent
 
BloodMoonEvent - Class in com.mrbysco.lunar.registry.events
 
BloodMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.BloodMoonEvent
 

C

canAppear(Level) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called to check if the lunar event can happen.
canSleep(Player, BlockPos) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when a player is about to try and sleep through the lunar event.
canSleep(Player, BlockPos) - Static method in class com.mrbysco.lunar.handler.LunarHandler
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.BigMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.BloodMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.CrimsonMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.HeroMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.MinerMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.RegularMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
canSleep(Player, BlockPos) - Method in class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
colorTheMoon(ClientLevel, PoseStack, Matrix4f, float, Camera) - Static method in class com.mrbysco.lunar.client.MoonHandler
 
com.mrbysco.lunar - package com.mrbysco.lunar
 
com.mrbysco.lunar.api - package com.mrbysco.lunar.api
 
com.mrbysco.lunar.client - package com.mrbysco.lunar.client
 
com.mrbysco.lunar.commands - package com.mrbysco.lunar.commands
 
com.mrbysco.lunar.handler - package com.mrbysco.lunar.handler
 
com.mrbysco.lunar.handler.result - package com.mrbysco.lunar.handler.result
 
com.mrbysco.lunar.mixin - package com.mrbysco.lunar.mixin
 
com.mrbysco.lunar.platform - package com.mrbysco.lunar.platform
 
com.mrbysco.lunar.platform.services - package com.mrbysco.lunar.platform.services
 
com.mrbysco.lunar.registry - package com.mrbysco.lunar.registry
 
com.mrbysco.lunar.registry.events - package com.mrbysco.lunar.registry.events
 
CommonClass - Class in com.mrbysco.lunar
 
CommonClass() - Constructor for class com.mrbysco.lunar.CommonClass
 
Constants - Class in com.mrbysco.lunar
 
Constants() - Constructor for class com.mrbysco.lunar.Constants
 
CrimsonMoonEvent - Class in com.mrbysco.lunar.registry.events
 
CrimsonMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.CrimsonMoonEvent
 

D

DEFAULT - Enum constant in enum class com.mrbysco.lunar.handler.result.EventResult
 
DEFAULT_CRIMSON_REPLACEMENT - Static variable in class com.mrbysco.lunar.CommonClass
 
DENY - Enum constant in enum class com.mrbysco.lunar.handler.result.EventResult
 
dictatesMobSpawn() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event tries check if a mob is allowed to spawn.
dictatesMobSpawn() - Method in class com.mrbysco.lunar.registry.events.CrimsonMoonEvent
 
dictatesMobSpawn() - Method in class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
disableMoon() - Static method in class com.mrbysco.lunar.client.MoonHandler
 

E

EclipseMoonEvent - Class in com.mrbysco.lunar.registry.events
 
EclipseMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
eraseEvent() - Method in class com.mrbysco.lunar.LunarPhaseData
 
EventResult - Enum Class in com.mrbysco.lunar.handler.result
Enum for the result of an event

F

forcedEvent - Variable in class com.mrbysco.lunar.LunarPhaseData
 

G

get(Level) - Static method in class com.mrbysco.lunar.LunarPhaseData
 
getActiveLunarEvent() - Method in class com.mrbysco.lunar.LunarPhaseData
 
getBadOmenMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Bad Omen Moon event.
getBigMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Big Moon event.
getBloodMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Blood Moon event.
getCrimsonMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Crimson Moon event.
getCrimsonReplacementMap() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured Crimson Replacement Map to be used during the Crimson Moon event
getDefaultMoon() - Static method in class com.mrbysco.lunar.registry.LunarRegistry
 
getEclipseMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Eclipse Moon event.
getEntityType(ResourceLocation) - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the associated EntityType for the given ResourceLocation.
getEntityTypeLocation(EntityType<?>) - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the associated ResourceLocation for the given EntityType.
getEventByID(ResourceLocation) - Method in class com.mrbysco.lunar.registry.LunarRegistry
 
getHeroMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Hero Moon event.
getID() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Get the resource location of the lunar event.
getID() - Method in class com.mrbysco.lunar.api.LunarEvent
 
getIDList() - Method in class com.mrbysco.lunar.registry.LunarRegistry
 
getLunarChance() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured chance of a Lunar Event happening.
getMinerMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Miner Moon event.
getMoonScale() - Static method in class com.mrbysco.lunar.client.MoonHandler
 
getMoonTexture(ResourceLocation) - Static method in class com.mrbysco.lunar.client.MoonHandler
 
getRandomLunarEvent(Level) - Method in class com.mrbysco.lunar.registry.LunarRegistry
 
getSpawnResult(LivingEntity, MobSpawnType) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event tries check if a mob is allowed to spawn.
getSpawnResult(LivingEntity, MobSpawnType) - Method in class com.mrbysco.lunar.registry.events.CrimsonMoonEvent
 
getSpawnResult(LivingEntity, MobSpawnType) - Method in class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
getSpawnResult(MobSpawnType, LivingEntity) - Static method in class com.mrbysco.lunar.handler.LunarHandler
 
getTinyMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the Tiny Moon event.
getTranslationKey() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Get the translation key for the lunar event.
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.BigMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.BloodMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.CrimsonMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.HeroMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.MinerMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.RegularMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
getTranslationKey() - Method in class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
getWhiteMoonWeight() - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Returns the configured weight of the White Moon event.

H

hasEventActive() - Method in class com.mrbysco.lunar.LunarPhaseData
 
HeroMoonEvent - Class in com.mrbysco.lunar.registry.events
 
HeroMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.HeroMoonEvent
 

I

ILunarEvent - Interface in com.mrbysco.lunar.api
 
initializeCommands(CommandDispatcher<CommandSourceStack>) - Static method in class com.mrbysco.lunar.commands.LunarCommands
 
initializeLunarEvents() - Method in class com.mrbysco.lunar.registry.LunarRegistry
 
initRegistry() - Static method in class com.mrbysco.lunar.CommonClass
 
instance() - Static method in class com.mrbysco.lunar.registry.LunarRegistry
 
IPlatformHelper - Interface in com.mrbysco.lunar.platform.services
 
isEventActive() - Static method in class com.mrbysco.lunar.client.MoonHandler
 
isMoonScaled() - Static method in class com.mrbysco.lunar.client.MoonHandler
 

L

LevelRendererMixin - Class in com.mrbysco.lunar.mixin
 
LevelRendererMixin() - Constructor for class com.mrbysco.lunar.mixin.LevelRendererMixin
 
load(Class<T>) - Static method in class com.mrbysco.lunar.platform.Services
 
load(CompoundTag) - Static method in class com.mrbysco.lunar.LunarPhaseData
 
LOGGER - Static variable in class com.mrbysco.lunar.Constants
 
lunar_changeMoonTexture(ResourceLocation) - Method in class com.mrbysco.lunar.mixin.LevelRendererMixin
 
LunarCommands - Class in com.mrbysco.lunar.commands
 
LunarCommands() - Constructor for class com.mrbysco.lunar.commands.LunarCommands
 
LunarEvent - Class in com.mrbysco.lunar.api
 
LunarEvent(ResourceLocation, int) - Constructor for class com.mrbysco.lunar.api.LunarEvent
 
LunarHandler - Class in com.mrbysco.lunar.handler
 
LunarHandler() - Constructor for class com.mrbysco.lunar.handler.LunarHandler
 
LunarPhaseData - Class in com.mrbysco.lunar
 
LunarPhaseData() - Constructor for class com.mrbysco.lunar.LunarPhaseData
 
LunarPhaseData(ILunarEvent, ILunarEvent) - Constructor for class com.mrbysco.lunar.LunarPhaseData
 
LunarRegistry - Class in com.mrbysco.lunar.registry
 
LunarRegistry() - Constructor for class com.mrbysco.lunar.registry.LunarRegistry
 

M

MinerMoonEvent - Class in com.mrbysco.lunar.registry.events
 
MinerMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.MinerMoonEvent
 
MOD_ID - Static variable in class com.mrbysco.lunar.Constants
 
MOD_NAME - Static variable in class com.mrbysco.lunar.Constants
 
moonColor() - Method in interface com.mrbysco.lunar.api.ILunarEvent
The color of the moon during the lunar event.
moonColor() - Method in class com.mrbysco.lunar.api.LunarEvent
 
MoonHandler - Class in com.mrbysco.lunar.client
 
MoonHandler() - Constructor for class com.mrbysco.lunar.client.MoonHandler
 
moonScale() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called to check if the moon should get scaled.
moonScale() - Method in class com.mrbysco.lunar.registry.events.BigMoonEvent
 
moonScale() - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
moonTexture() - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called to change the texture of the moon.
moonTexture() - Method in class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
moonTexture() - Method in class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
moonTexture() - Method in class com.mrbysco.lunar.registry.events.HeroMoonEvent
 

O

onWorldTick(Level) - Static method in class com.mrbysco.lunar.handler.LunarHandler
 

P

PLATFORM - Static variable in class com.mrbysco.lunar.platform.Services
 

R

registerEvent(ILunarEvent) - Method in class com.mrbysco.lunar.registry.LunarRegistry
 
RegularMoonEvent - Class in com.mrbysco.lunar.registry.events
 
RegularMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.RegularMoonEvent
 

S

save(CompoundTag) - Method in class com.mrbysco.lunar.LunarPhaseData
 
Services - Class in com.mrbysco.lunar.platform
 
Services() - Constructor for class com.mrbysco.lunar.platform.Services
 
setDefaultMoon() - Method in class com.mrbysco.lunar.LunarPhaseData
 
setForcedEvent(ILunarEvent) - Method in class com.mrbysco.lunar.LunarPhaseData
 
setMoon(String, int, float) - Static method in class com.mrbysco.lunar.client.MoonHandler
 
setMoonTexture(ResourceLocation) - Static method in class com.mrbysco.lunar.client.MoonHandler
 
setRandomLunarEvent(Level) - Method in class com.mrbysco.lunar.LunarPhaseData
 
sortByWeight() - Method in class com.mrbysco.lunar.registry.LunarRegistry
 
spawnWeight() - Method in interface com.mrbysco.lunar.api.ILunarEvent
The weight in which the lunar event will be picked.
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.BadOmenMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.BigMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.BloodMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.CrimsonMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.EclipseMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.HeroMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.MinerMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.RegularMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
spawnWeight() - Method in class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
stopEffects(Level) - Method in interface com.mrbysco.lunar.api.ILunarEvent
Called when the lunar event is over and the effects are removed.
stopEffects(Level) - Method in class com.mrbysco.lunar.registry.events.BloodMoonEvent
 
SYNC_EVENT_ID - Static variable in class com.mrbysco.lunar.Constants
 
SYNC_MOVEMENT_EVENT_ID - Static variable in class com.mrbysco.lunar.Constants
 
syncDeltaMovement(ServerPlayer, Vec3) - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Sync the deltaMovement to the client.
syncEvent(ServerPlayer) - Method in class com.mrbysco.lunar.LunarPhaseData
 
syncEvent(ServerPlayer, ILunarEvent) - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Syncing the lunar event to a specific client.
syncEvent(Level) - Method in class com.mrbysco.lunar.LunarPhaseData
 
syncEvent(Level, ILunarEvent) - Method in interface com.mrbysco.lunar.platform.services.IPlatformHelper
Syncing the lunar event to the clients.

T

TinyMoonEvent - Class in com.mrbysco.lunar.registry.events
 
TinyMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.TinyMoonEvent
 
toString() - Method in class com.mrbysco.lunar.api.LunarEvent
 

U

uponLivingSpawn(MobSpawnType, LivingEntity) - Static method in class com.mrbysco.lunar.handler.LunarHandler
 

V

valueOf(String) - Static method in enum class com.mrbysco.lunar.handler.result.EventResult
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.mrbysco.lunar.handler.result.EventResult
Returns an array containing the constants of this enum class, in the order they are declared.

W

WhiteMoonEvent - Class in com.mrbysco.lunar.registry.events
 
WhiteMoonEvent() - Constructor for class com.mrbysco.lunar.registry.events.WhiteMoonEvent
 
A B C D E F G H I L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values