Class CommonEventsFabric1_20
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20
mods.thecomputerizer.theimpossiblelibrary.fabric.v20.common.event.CommonEventsFabric1_20
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
public abstract class CommonEventsFabric1_20
extends mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20
-
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) <E> EsetEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20
getAABB, getActionResult, getFacing, getHand, getVec3d, isDefined, setAABB, setActionResult, setFacing, setHand, setVec3d
-
Constructor Details
-
CommonEventsFabric1_20
public CommonEventsFabric1_20()
-
-
Method Details
-
defineEvents
public void defineEvents()- Specified by:
defineEventsin interfacemods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI- Overrides:
defineEventsin classmods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20
-
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 <E> E setEventResult(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result result)
-