Jump to content

event not being called at all 1.7.2


Recommended Posts

hey guys, im having trouble with a forge event, the event doesnt seem to be getting called at all, ill post any relevant code if needed


 package com.MCR.MinecraftReloaded.Event;

import net.minecraft.entity.passive.EntityCow;
import net.minecraft.init.Items;
import net.minecraftforge.event.entity.living.LivingDeathEvent;

import com.google.common.eventbus.Subscribe;

public class DropsEvent {

public void LivingDropsEvent(LivingDeathEvent event){
System.out.println("eventdrops working");

             if (event.entityLiving instanceof EntityCow) {
                     event.entityLiving.dropItem(Items.bone, 3);


its being registered like so in forge preinit like my other events

        MinecraftForge.EVENT_BUS.register(new DropsEvent());


thanks in advance


Link to comment
Share on other sites

This topic is now closed to further replies.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.