Class CommonEventsNeoForge1_21
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v21.common.event.CommonEvents1_21
mods.thecomputerizer.theimpossiblelibrary.neoforge.v21.common.event.CommonEventsNeoForge1_21
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
public class CommonEventsNeoForge1_21
extends mods.thecomputerizer.theimpossiblelibrary.shared.v21.common.event.CommonEvents1_21
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid<R> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.ResultgetEventResult(R result) voidpostCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker) <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>
voidregister(E wrapper) net.neoforged.neoforge.common.util.TriStatesetEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.shared.v21.common.event.CommonEvents1_21
getAABB, getActionResult, getFacing, getHand, getVec3d, isDefined, setAABB, setActionResult, setFacing, setHand, setVec3d
-
Constructor Details
-
CommonEventsNeoForge1_21
public CommonEventsNeoForge1_21()
-
-
Method Details
-
defineEvents
public void defineEvents()- Specified by:
defineEventsin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI- Overrides:
defineEventsin classmods.thecomputerizer.theimpossiblelibrary.shared.v21.common.event.CommonEvents1_21
-
getEventResult
public <R> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result getEventResult(R result) -
postCustomTick
public void postCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker) -
register
public <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>> void register(E wrapper) -
setEventResult
public net.neoforged.neoforge.common.util.TriState setEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result)
-