Skip to content

mintime / maxtime only working correctly for first 24000 ticks #21

@Terpo

Description

@Terpo

AbyssalCraft-1.11.2-1.9.4-pre-2.jar
compatlayer-1.11.2-0.2.8.jar
incontrol-3.5.5.jar
mcjtylib-1.1x-2.3.11.jar

Here a potentialspawn:
{
"dimension": 0,
"mindifficulty": 1.0,
"maxlight": 4,
"mintime": 18000,
"seesky": true,
"maxcount": "30,abyssalcraft:shadowcreature",
"mobs": [
{
"mob": "abyssalcraft:shadowcreature",
"weight": 5,
"groupcountmin": 1,
"groupcountmax": 2
}
]
}

for the spawn.json:
{
"mob": ["abyssalcraft:shadowcreature"],
"dimension": 0,
"result": "allow"
},
{
"result": "deny"
}

Here is the problem:
For me it seems that there is a %24000 missing somewhere.

An example
/time set 15000 --> mobs should not spawn and they do not -> fine
/time add 24000 --> mobs should not spawn and they do -> broken

now we add a maxtime to the potentialspawn "maxtime": 18000, and remove the mintime
/time set 15000 --> mobs should spawn and they do -> fine
/time add 24000 --> mobs should spawn and they do not -> broken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions