Class CommonEventsForge1_20

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20
mods.thecomputerizer.theimpossiblelibrary.forge.v20.common.event.CommonEventsForge1_20
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI, mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper

public abstract class CommonEventsForge1_20 extends mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20 implements mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    <R> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result
    getEventResult(R result)
     
    net.minecraftforge.eventbus.api.IEventBus
    getModBus(net.minecraftforge.fml.ModContainer container)
     
    void
    postCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker)
     
    <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>
    void
    register(E wrapper)
     
    net.minecraftforge.eventbus.api.Event.Result
    setEventResult(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper

    getBusFor, getBusFor, getModBus, registerForgeOrModBus
  • Constructor Details

    • CommonEventsForge1_20

      public CommonEventsForge1_20()
  • Method Details

    • defineEvents

      public void defineEvents()
      Specified by:
      defineEvents in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
      Overrides:
      defineEvents in class mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.event.CommonEvents1_20
    • getEventResult

      public <R> mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result getEventResult(R result)
      Specified by:
      getEventResult in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • getModBus

      @Nullable public net.minecraftforge.eventbus.api.IEventBus getModBus(net.minecraftforge.fml.ModContainer container)
      Specified by:
      getModBus in interface mods.thecomputerizer.theimpossiblelibrary.forge.common.event.ForgeEventHelper
    • postCustomTick

      public void postCustomTick(mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick ticker)
      Specified by:
      postCustomTick in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI
    • register

      public <E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>> void register(E wrapper)
      Specified by:
      register in interface mods.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:
      setEventResult in interface mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventsAPI