Class CommonEventsForge1_18_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.common.event.CommonEvents1_18_2
mods.thecomputerizer.theimpossiblelibrary.forge.v18.m2.common.event.CommonEventsForge1_18_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI,mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper
public class CommonEventsForge1_18_2
extends mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.common.event.CommonEvents1_18_2
implements mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid<R> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.ResultgetEventResult(R result) net.minecraftforge.eventbus.api.IEventBusgetModBus(net.minecraftforge.fml.ModContainer container) voidpostCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker) <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>
voidregister(E wrapper) net.minecraftforge.eventbus.api.Event.ResultsetEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.common.event.CommonEvents1_18_2
getAABB, getActionResult, getFacing, getHand, getVec3d, isDefined, setAABB, setActionResult, setFacing, setHand, setVec3dMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper
getBusFor, getBusFor, getModBus, registerForgeOrModBus
-
Constructor Details
-
CommonEventsForge1_18_2
public CommonEventsForge1_18_2()
-
-
Method Details
-
defineEvents
public void defineEvents()- Specified by:
defineEventsin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI- Overrides:
defineEventsin classmods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.common.event.CommonEvents1_18_2
-
getEventResult
public <R> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result getEventResult(R result) - Specified by:
getEventResultin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
-
getModBus
@Nullable public net.minecraftforge.eventbus.api.IEventBus getModBus(net.minecraftforge.fml.ModContainer container) - Specified by:
getModBusin interfacemods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper
-
postCustomTick
public void postCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker) - Specified by:
postCustomTickin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
-
register
public <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>> void register(E wrapper) - Specified by:
registerin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
-
setEventResult
public net.minecraftforge.eventbus.api.Event.Result setEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result) - Specified by:
setEventResultin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
-