Code Monkey home page Code Monkey logo

calendar's People

Contributors

callmefoxie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calendar's Issues

How do I set the date??

I tried everything with /date set and it always says: There is no such day in a year!
Please help!! Ugh, why is there no explanation for the mod??

Question: Need an unlocalized token for the current season

I am looking at integrating the Calendar API with Dynamic Surroundings. What I want to do is use the name of the current season as criteria for filtering sounds that can be played.

Right now in my data set I have regular expressions that does matching against a list of string tokens that I generate based on the current Minecraft world state. For example, the condition string may contain "day" and "raining" meaning it is daytime and it is currently raining. Any sounds that can match successfully against this condition string would be eligible for play.

As it relates to seasons I want to add a season token to my condition string. This will allow sounds to play only during specific seasons. For example, if it is "winter" I wouldn't want to have regular bird chirping playing because it is winter.

For this to work I need to have string tokens that are not localized that map to each distinct season. What I would like to have is a way to use the Calendar API to get the unlocalized string token that represents the season at the current point in time (i.e. "spring", "summer", "winter", "fall"). I know that seasonal providers can do things like have 14 different seasons if they chose, and that is OK. The key thing for me is to have a unique string token for each of those 14 seasons so I can build configuration files.

I hope this makes sense. :)

Exception: There is no such day in this month!

Get this error in Regular Steps

---- Minecraft Crash Report ----

WARNING: coremods are present:
SFRCore (SolarFluxReborn_1.10.2-1.4r.jar)
IC2core (industrialcraft-2-2.6.69-ex110.jar)
StreamsCoreMod (Streams-1.9.4-0.2.1.jar)
BetterSleeping Core (BetterSleeping-1.10.2-2.0-gamma-11.jar)
FarseekCoreMod (Farseek-1.9.4-1.1.jar)
NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)
BetterFoliageLoader (BetterFoliage-MC1.10-2.1.1.jar)
FMLPlugin (InventoryTweaks-1.61-58.jar)
TransformerLoader (OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar)
MalisisCorePlugin (malisiscore-1.9.4-4.1.1.jar)
Contact their authors BEFORE contacting forge

// Who set us up the TNT?

Time: 23/09/16 17:21
Description: Exception in server tick loop

java.lang.IllegalArgumentException: There is no such day in this month!
at foxie.calendar.implementation.CalendarImpl.setDay(CalendarImpl.java:99)
at foxie.bettersleeping.modules.TirednessModule.onWorldSleepPre(TirednessModule.java:177)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_39_TirednessModule_onWorldSleepPre_Pre.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:168)
at foxie.bettersleeping.core.BSEvents.getSleepingTime(BSEvents.java:32)
at foxie.bettersleeping.modules.TirednessModule.onWorldTick(TirednessModule.java:153)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_41_TirednessModule_onWorldTick_WorldTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:168)
at net.minecraftforge.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:282)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:694)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:463)
at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.10.2
Operating System: Linux (amd64) version 3.14.32-xxxx-std-ipv6-64-hz1000
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 274330024 bytes (261 MB) / 1232973824 bytes (1175 MB) up to 2075918336 bytes (1979 MB)
JVM Flags: 20 total; -Xincgc -XX:+UseParNewGC -XX:MaxPermSize=256M -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -Xnoclassgc -Xoss4M -Xss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -Xmx2048M -Xms512M
IntCache: cache: 0, tcache: 0, allocated: 9, tallocated: 61
FML: MCP 9.32 Powered by Forge 12.18.1.2092 113 mods loaded, 113 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.19} Minecraft Coder Pack
UCHIJAAAA FML{8.0.99.99} Forge Mod Loader
UCHIJAAAA Forge{12.18.1.2092} Minecraft Forge
UCHIJAAAA bettersleepingcore{2.0} Better Sleeping 2 Core
UCHIJAAAA OpenComputers|Core{1.6.0.3-rc.1} OpenComputers (Core)
UCHIJAAAA movillages{1.5.2} [Mo' Villages]([1.9.4]Mo' Villages-1.5.2.jar)
UCHIJAAAA ForgeEndertech{1.1.3.0} Forge Endertech
UCHIJAAAA AdChimneys{1.10.2-1.1.3.1} Advanced Chimneys
UCHIJAAAA CookingPlus{0.8.8} [The Agricultural Revolution](Agricultural Revolution-1.10.2-0.8.8.jar)
UCHIJAAAA agriculturalexpansion{r-1.2.0} Agricultural Expansion
UCHIJAAAA aquaculture{1.4.0} Aquaculture
UCHIJAAAA thedragoncore{1.1.0} TheDragonCore
UCHIJAAAA armorplus{1.10.2-6.0.9.2} ArmorPlus
UCHIJAAAA backpack{3.0.1} Backpack
UCHIJAAAA Baubles{1.2.1.0} Baubles
UCHIJAAAA bdlib{1.12.2.8} BD Lib
UCHIJAAAA mantle{1.10.2-1.0.0.jenkins170} Mantle
UCHIJAAAA tconstruct{1.10.2-2.5.2.jenkins352} Tinkers' Construct
UCHIJAAAA betterwithmods{0.11 Beta hotfix 2} [Better With Mods](Better With Mods-0.11-1.10.2-hotfix2.jar)
UCHIJAAAA BetterAchievements{0.3.0.30} Better Achievements
UCHIJAAAA betteragriculture{0.16} Better Agriculture
UCHIJAAAA BetterFoliage{2.1.1} Better Foliage
UCHIJAAAA calendarapi{1.5} CalendarAPI
UCHIJAAAA foxielib{1.0} FoxieLib
UCHIJAAAA bettersleeping{2.0-gamma} Better Sleeping
UCHIJAAAA bookshelfapi{3.3.0} Bookshelf
UCHIJAAAA Botania{r1.9-323} [Botania](Botania r1.9-323.jar)
UCHIJAAAA canijoinnow{@Version@} Can I Join Now?
UCHIJAAAA Chameleon{1.10-2.1.7} Chameleon
UCHIJAAAA ChestTransporter{2.5.2} Chest Transporter
UCHIJAAAA chisel{MC1.9.4-0.0.6.46} Chisel
UCHIJAAAA mcmultipart{1.2.1} MCMultiPart
UCHIJAAAA chiselsandbits{12.1} Chisels & Bits
UCHIJAAAA clockhud{1.3.2} Clock HUD
UCHIJAAAA IC2{2.6.69-ex110} IndustrialCraft 2
UCHIJAAAA CompactSolars{5.0.4.328} Compact Solar Arrays
UCHIJAAAA conquest{0.0.1} Conquest Reforged
UCHIJAAAA cookingforblockheads{4.2.15} Cooking for Blockheads
UCHIJAAAA coralreef{1.0} Coral Reef
UCHIJAAAA covers{0.3.0.6} Simple Covers
UCHIJAAAA MineTweaker3{3.0.11} MineTweaker 3
UCHIJAAAA ExtraUtils2{1.0} ExtraUtils2
UCHIJAAAA JEI{3.10.0.267} Just Enough Items
UCHIJAAAA forestry{5.2.12.257} Forestry
UCHIJAAAA ElecCore{1.5.311} ElecCore
UCHIJAAAA OpenComputers{1.6.0.3-rc.1} OpenComputers
UCHIJAAAA deepresonance{1.2.4} DeepResonance
UCHIJAAAA elementaldimensions{0.0.3} Elemental Dimensions
UCHIJAAAA enderutilities{0.6.5} Ender Utilities
UCHIJAAAA excore{1.6.2} EXCore
UCHIJAAAA exnihiloomnia{1.1.0} Ex Nihilo Omnia
UCHIJAAAA golems{6.02} Extra Golems
UCHIJAAAA shadowmc{3.4.5} ShadowMC
UCHIJAAAA ExtraRails{1.1.1} Extra Rails
UCHIJAAAA zerocore{1.10.2-0.0.8.0} Zero CORE
UCHIJAAAA bigreactors{0.4.5.15} Extreme Reactors
UCHIJAAAA Farseek{1.9.4} Farseek
UCHIJAAAA fastleafdecay{v11} Fast Leaf Decay
UCHIJAAAA FloodLights{1.2.7-145} Flood Lights
UCHIJAAAA fluxducts{1.0.4} Flux Ducts
UCHIJAAAA FEI{1.0.15} Forever Enough Items
UCHIJAAAA gendustry{1.6.4.17} GenDustry
UCHIJAAAA pressure{1.3.1.11} Pressure Pipes
UCHIJAAAA advgenerators{0.9.20.10} Advanced Generators
UCHIJAAAA exp{1.1} Exp Seedling Mod
UCHIJAAAA fishing{1.4.4} Fishing Net Mod
UCHIJAAAA giacomosfoundry{1.3.5} Giacomo's Foundry
UCHIJAAAA giacomostravelogue{1.01} Giacomo’s Travelogue
UCHIJAAAA glasscraftmod{1.0} [Glasscraft](Glasscraftmod v1.0 - MC1.10.2 Forge.jar)
UCHIJAAAA gravestone{1.5.6} [Gravestone](GraveStone Mod 1.5.6.jar)
UCHIJAAAA HoloInventory{2.0.2.136} HoloInventory
UCHIJAAAA hopperducts{1.4.8} Hopper Ducts
UCHIJAAAA immcraft{1.1.7} Immersive Craft
UCHIJAAAA imc{1.12.1} [Improving Minecraft](Improving Minecraft-1.12.1.jar)
UCHIJAAAA inventorytweaks{1.61-58-a1fd884} Inventory Tweaks
UCHIJAAAA jacb{1.0.6} JACB
UCHIJAAAA JEFB{1.0.3} Just Enough Forestry Bees
UCHIJAAAA jeibees{0.9.0.1} JEI Bees
UCHIJAAAA levelup{${version}} Level Up!
UCHIJAAAA malisiscore{1.9.4-4.1.1} MalisisCore
UCHIJAAAA malisisblocks{1.9.4-4.0.1} Malisis Blocks
UCHIJAAAA malisisdoors{1.9.4-5.0.4} MalisisDoors
UCHIJAAAA minecolonies{1.10.2-0.4.907} MineColonies
UCHIJAAAA missing_pieces{4.0.2} Missing Pieces
UCHIJAAAA morebees{1.10.2-1.1.3} More Bees
UCHIJAAAA morematerials{1.10.2-1.9.20160723.0} More Materials
UCHIJAAAA mychunkloader{1.9.4-1.10.2-03} My Chunk Loader
UCHIJAAAA netherportalfix{1.0} Nether Portal Fix
UCHIJAAAA ninjagear{1.10.2-0.0.3} NinjaGear
UCHIJAAAA fodc{1.9.1} Ore Dictionary Converter
UCHIJAAAA placemod{3.8} Placemod
UCHIJAAAA progressiveautomation{1.6.51} Progressive Automation
UCHIJAAAA redstonepaste{1.7.4} Redstone Paste
UCHIJAAAA StorageDrawers{1.10.2-3.2.7} Storage Drawers
UCHIJAAAA refinedstorage{1.0.5} Refined Storage
UCHIJAAAA regrowableleaves{1.10.2-3.1.2} Regrowable Leaves
UCHIJAAAA reptilemod{3.5.2} Reptile Mod
UCHIJAAAA rftools{5.24} RFTools
UCHIJAAAA rftoolscontrol{1.1.0} RFTools Control
UCHIJAAAA rftoolsdim{4.30beta50} RFTools Dimensions
UCHIJAAAA RTG{1.10.2} Realistic Terrain Generation
UCHIJAAAA showcasemod{0.2} Showcase Mod
UCHIJAAAA SimpleUpgrades{2.1.7} SimpleUpgrades
UCHIJAAAA simplycaterpillar{6.0.1.22} Simply Caterpillar
UCHIJAAAA slug{1.0A} [Slugs EU and RF converters](Slugs Converters.jar)
UCHIJAAAA SolarFluxReborn{1.4r} Solar Flux Reborn
UCHIJAAAA Streams{1.9.4} Streams
UCHIJAAAA teletoro{1.10.2-19} TeleToro
UCHIJAAAA treechopper{1.0.4} Tree Chopper
UCHIJAAAA vc{v2.0.0a-mc1.10.2} ViesCraft
UCHIJAAAA villagebox{0.5.0} Village Box
UCHIJAAAA Waila{1.7.0} Waila
UCHIJAAAA waterstrainer{1.3.0} Water Strainer
Loaded coremods (and transformers):
SFRCore (SolarFluxReborn_1.10.2-1.4r.jar)
com.mrdimka.solarfluxreborn.core.SFRSerializedTransformer
IC2core (industrialcraft-2-2.6.69-ex110.jar)

StreamsCoreMod (Streams-1.9.4-0.2.1.jar)
streams.core.StreamsClassTransformer
BetterSleeping Core (BetterSleeping-1.10.2-2.0-gamma-11.jar)
foxie.bettersleeping.asm.PatchCollection
FarseekCoreMod (Farseek-1.9.4-1.1.jar)
farseek.core.FarseekClassTransformer
NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)
net.fybertech.nwr.NWRTransformer
BetterFoliageLoader (BetterFoliage-MC1.10-2.1.1.jar)
mods.betterfoliage.loader.BetterFoliageTransformer
FMLPlugin (InventoryTweaks-1.61-58.jar)
invtweaks.forge.asm.ContainerTransformer
TransformerLoader (OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar)
li.cil.oc.common.asm.ClassTransformer
MalisisCorePlugin (malisiscore-1.9.4-4.1.1.jar)
net.malisis.core.util.chunkcollision.ChunkCollisionTransformer
net.malisis.core.util.chunkblock.ChunkBlockTransformer
net.malisis.core.renderer.transformer.MalisisRendererTransformer
net.malisis.core.renderer.icon.asm.TextureMapTransformer
net.malisis.core.util.clientnotif.ClientNotifTransformer
Pulsar/tconstruct loaded Pulses:
- TinkerCommons (Enabled/Forced)
- TinkerWorld (Enabled/Not Forced)
- TinkerTools (Enabled/Not Forced)
- TinkerHarvestTools (Enabled/Forced)
- TinkerMeleeWeapons (Enabled/Forced)
- TinkerRangedWeapons (Enabled/Forced)
- TinkerModifiers (Enabled/Forced)
- TinkerSmeltery (Enabled/Not Forced)
- TinkerGadgets (Enabled/Not Forced)
- TinkerOredict (Enabled/Forced)
- TinkerIntegration (Enabled/Forced)
- TinkerFluids (Enabled/Forced)
- TinkerMaterials (Enabled/Forced)
- TinkerModelRegister (Enabled/Forced)
- chiselsandbitsIntegration (Enabled/Not Forced)
- WailaIntegration (Enabled/Not Forced)

List of loaded APIs: 
    * Baubles|API (1.1.1.0) from Baubles-1.9.4-1.2.1.0.jar
    * BetterAchievements|API (0.3.0.30) from BetterAchievements-1.10.2-0.3.0.30.jar
    * bettersleeping|api (3.0) from BetterSleeping-1.10.2-2.0-gamma-11.jar
    * BetterWithModsAPI (Beta 0.6) from Better With Mods-0.11-1.10.2-hotfix2.jar
    * BotaniaAPI (80) from Botania r1.9-323.jar
    * calendarapi|api (1.5) from Calendar-1.10.2-1.5-10.jar
    * ChiselAPI (0.0.1) from Chisel-MC1.9.4-0.0.6.46.jar
    * ChiselAPI|Carving (0.0.1) from Chisel-MC1.9.4-0.0.6.46.jar
    * ChiselsAndBitsAPI (11.7.0) from chiselsandbits-12.1.jar
    * CoFHAPI (1.8.9R1.2.0B1) from extrautils2-1.10.2-alpha-1.0.1.jar
    * CoFHAPI|block (1.8.9R1.2.0B1) from fluxducts-mc1.9.4-1.0.4.jar
    * CoFHAPI|core (1.8.9R1.2.0B1) from zerocore-1.10.2-0.0.8.0.jar
    * CoFHAPI|energy (1.8.9R1.2.0B1) from extrautils2-1.10.2-alpha-1.0.1.jar
    * CoFHAPI|inventory (1.8.9R1.2.0B1) from zerocore-1.10.2-0.0.8.0.jar
    * CoFHAPI|item (1.8.9R1.2.0B1) from zerocore-1.10.2-0.0.8.0.jar
    * CoFHAPI|tileentity (1.8.9R1.2.0B1) from fluxducts-mc1.9.4-1.0.4.jar
    * CoFHAPI|transport (1.8.9R1.2.0B1) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|FileSystem (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|Lua (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|Media (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|Peripheral (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|Permissions (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|Redstone (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * ComputerCraft|API|Turtle (1.80pr0) from zerocore-1.10.2-0.0.8.0.jar
    * DR-API (1.0.4-Beta) from deepresonance-1.10-1.2.4.jar
    * ElecCore|Abilities (#API_VER#) from ElecCore-1.9.4-1.5.311.jar
    * ForestryAPI|apiculture (5.0.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|arboriculture (4.2.1) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|circuits (3.1.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|climate (2.1.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|core (5.0.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|farming (2.1.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|food (1.1.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|fuels (3.0.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|genetics (4.7.1) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|greenhouse (5.2.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|hives (4.1.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|lepidopterology (1.3.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|mail (3.0.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|multiblock (3.0.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|recipes (5.4.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|storage (5.0.0) from forestry_1.10.2-5.2.12.257.jar
    * ForestryAPI|world (2.1.0) from forestry_1.10.2-5.2.12.257.jar
    * gendustryAPI (2.3.0) from gendustry-1.6.4.17-mc1.10.2.jar
    * IC2API (1.0) from Slugs Converters.jar
    * jeresources|API (0.5.1.56) from JustEnoughResources-1.10.2-0.5.1.56.jar
    * JustEnoughItemsAPI (4.3.0) from jei_1.10.2-3.10.0.267.jar
    * MapWriterApi (1.1.0) from MapWriter-1.10.2-2.6.19.jar
    * McJtyLib (1.10-2.1.2) from mcjtylib-1.10-2.1.2.jar
    * NinjaGearAPI (1.0) from ninjagear-0.0.3.jar
    * OpenComputersAPI|Component (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Core (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Driver (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Driver|Item (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Event (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|FileSystem (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Internal (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Machine (6.0.0-alpha) from zerocore-1.10.2-0.0.8.0.jar
    * OpenComputersAPI|Manual (6.0.0-alpha) from zerocore-1.10.2-0.0.8.0.jar
    * OpenComputersAPI|Network (6.0.0-alpha) from OpenComputers-MC1.10.2-1.6.0.3-rc.1.jar
    * OpenComputersAPI|Prefab (6.0.0-alpha) from zerocore-1.10.2-0.0.8.0.jar
    * pressureAPI (1.3.1.11) from pressure-1.3.1.11-mc1.10.2.jar
    * StorageDrawersAPI (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|config (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|event (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|inventory (1.7.10-1.2.0) from refinedstorage-1.0.5.jar
    * StorageDrawersAPI|pack (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|registry (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|render (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|storage (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * StorageDrawersAPI|storage-attribute (1.7.10-1.2.0) from StorageDrawers-1.10.2-3.2.7.jar
    * WailaAPI (1.3) from Waila-1.7.0-B3_1.9.4.jar
    * zerocore|API|multiblock (1.9.4-0.0.1) from zerocore-1.10.2-0.0.8.0.jar
    * zerocore|API|multiblock|rectangular (1.9.4-0.0.1) from zerocore-1.10.2-0.0.8.0.jar
    * zerocore|API|multiblock|validation (1.9.4-0.0.1) from zerocore-1.10.2-0.0.8.0.jar
Profiler Position: N/A (disabled)
Player Count: 1 / 5; [EntityPlayerMP['Aismael'/262, l='Second', x=502.50, y=68.00, z=-286.50]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

Suggestion: Separate year / lunar month / day length from ICalendarProvider

Mods which differs year / lunar month / day length like my Stellar Sky would not want to determine the calendar system, because there are Solar, Lunisolar, Lunar, etc. calendar systems.
This would improve compatibility, because calendar mods can create their own system based on given year / lunar month / day length.

Reminder: Moon phases

Putting this here as a reminder to myself for later explanation: Scalable Moon Phases.

Suggestion: API to determine what part of the day cycle it is

With the calendar API, seasons, etc. it becomes difficult to determine the various phases of the day such as sunrise, sunset, noon, dusk, etc. It would be nice to have a method that can be called that returns an Enum value that describes the current time. Note that the interpretation of some of these, such as sunrise and sunset are dynamic and dependent on the sun rather than wall clock.

For Dynamic Surroundings I could use this information to further refine when sounds get played and have them fit more naturally to the environment.

EDIT: An Enum may not fit all circumstances. For example, it could be considered "noon" but yet be dusk, similar to what is experienced in the most northerly areas of the world for months out of the year. It may be better to have methods like "isSunrise()" and "isSunset()".

Suggestion: Separate Hour/Minute System

I think hour and minute is not necessarily part of calendar, and it is complicating ICalendarProvider.
So what about making it separate, and let other provider deal with it?

Having hard times with config 16 days per month <-> 28 days worked well

---- Minecraft Crash Report ----
// Sorry :(

Time: 22.09.17 10:05
Description: Initializing game

java.lang.IllegalArgumentException: There is no such day in this month!
at foxie.calendar.implementation.CalendarImpl.setDay(CalendarImpl.java:99)
at foxie.calendar.implementation.SeasonProvider.(SeasonProvider.java:26)
at foxie.calendar.Calendar.preinit(Calendar.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Stacktrace:
at foxie.calendar.implementation.CalendarImpl.setDay(CalendarImpl.java:99)
at foxie.calendar.implementation.SeasonProvider.(SeasonProvider.java:26)
at foxie.calendar.Calendar.preinit(Calendar.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 509734384 bytes (486 MB) / 898879488 bytes (857 MB) up to 4697620480 bytes (4480 MB)
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms1G -Xmx5G -XX:NewSize=1280M -XX:MaxNewSize=2560M -XX:SurvivorRatio=2 -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+AggressiveOpts
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 Optifine OptiFine_1.7.10_HD_U_D7S_pre 110 mods loaded, 110 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1558-1.7.10.jar)
UCH Forge{10.13.4.1558} [Minecraft Forge] (forge-1.7.10-10.13.4.1558-1.7.10.jar)
UCH tfc_coremod{0.79.29} [TFC[coremod]] (minecraft.jar)
UCH CodeChickenCore{1.0.7.46} [CodeChicken Core] (minecraft.jar)
UCH NotEnoughItems{1.0.5.110} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.110-universal.jar)
UCH terrafirmacraft{0.79.29} [TerraFirmaCraft_TNFC] ([1.7.10]TerraFirmaCraft-0.79.29.tnfc.6644d46.jar)
UCE CalendarAPI{@Version@} [CalendarAPI] (Calendar-1.7.10-1.0-4.jar)
UCH McMultipart{1.2.0.345} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
UCH TerraFirmaCraftNEIplugin{1.5.3.24} [TerraFirmaCraftNEIplugin] (TerraFirmaCraftNEIplugin-1.7.10-1.5.3.24.jar)
UCH FMPIntegration{1.0} [FMPIntegration] ([1.7.10]FMPIntegration-1.2.2.jar)
UCH ForgeMicroblock{1.2.0.345} [Forge Microblocks] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 381.65' Renderer: 'GeForce GT 520M/PCIe/SSE2'
Launched Version: 1.7.10-Forge10.13.4.1558-1.7.10
LWJGL: 2.9.1
OpenGL: GeForce GT 520M/PCIe/SSE2 GL version 4.5.0 NVIDIA 381.65, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [Conquest_.zip]
Current Language: Deutsch (Deutschland)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
OptiFine Version: OptiFine_1.7.10_HD_U_D7S_pre
Render Distance Chunks: 12
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
OpenGlVersion: 4.5.0 NVIDIA 381.65
OpenGlRenderer: GeForce GT 520M/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.