setycz / ChickensMod

Just a lot of chickens
MIT License
14 stars 32 forks source link

Trouble making chickens drop mod items. #74

Open jaynesb opened 7 years ago

jaynesb commented 7 years ago

Issue Description:

Not really sure if this counts as a bug or a feature request (or a mistake on my part), but I recently attempted to change the drops for some chickens to be essences from Mystical Agriculture, via modifying the chickens.cfg file. Rather than actually working, a crash occurred while attempting to load Minecraft.

Here is the crash log: crash-2017-02-05_11.32.36-client.txt.zip

And here is the config for the specific chicken that caused the crash (note that I could reproduce the crash with any chicken, and that I verified that the item ID and metadata is valid):

bluechicken {
    # Item amount to be laid/dropped. [range: 1 ~ 64, default: 1]
    I:dropItemAmount=1

    # Item amount to be laid/dropped. [range: -2147483648 ~ 2147483647, default: 4]
    I:dropItemMeta=0

    # Item name to be laid/dropped. [default: minecraft:dye]
    S:dropItemName=mysticalagriculture:lapis_lazuli_essence

    # Item amount to be laid/dropped. [range: 1 ~ 64, default: 1]
    I:eggItemAmount=1

    # Item amount to be laid/dropped. [range: -2147483648 ~ 2147483647, default: 4]
    I:eggItemMeta=0

    # Item name to be laid/dropped. [default: minecraft:dye]
    S:eggItemName=mysticalagriculture:lapis_lazuli_essence

    # Is chicken enabled? [default: true]
    B:enabled=true

    # Scale time to lay an egg. [range: 0.01 ~ 100.0, default: 1.0]
    S:layCoefficient=1.0

    # First parent, empty if it's base chicken. [default: ]
    S:parent1=

    # First parent, empty if it's base chicken. [default: ]
    S:parent2=

    # Chicken spawn type, can be: NORMAL, SNOW, NONE, HELL [default: NONE]
    S:spawnType=NONE
}

Potentially a load order issue?


Affected Versions (Do not use "latest"):

GenDeathrow commented 7 years ago

I know whats causing this, its basically a mod load order, this mod loads before what ever mod you trying to get items from. I have an idea that could fix this, but would need a bit of a rewrite.

TokkenGmr commented 7 years ago

Would love to see a fix for this.

GenDeathrow commented 7 years ago

ok so what I was going to implement this go around wont work. so I will just work on this for a later update. sorry

ToeiRei commented 6 years ago

Any update on this? I'm working on a 1.10.2 modpack...