Class MinecraftHelpersNeoForge

java.lang.Object
org.cyclops.cyclopscore.helper.MinecraftHelpersCommon
org.cyclops.cyclopscore.helper.MinecraftHelpersNeoForge
All Implemented Interfaces:
org.cyclops.cyclopscore.helper.IMinecraftHelpers

public class MinecraftHelpersNeoForge extends org.cyclops.cyclopscore.helper.MinecraftHelpersCommon implements org.cyclops.cyclopscore.helper.IMinecraftHelpers
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.server.MinecraftServer
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    isFakePlayer(net.minecraft.world.entity.player.Player player)
     
    boolean
     
    boolean
     
    boolean
     
    void
    openMenu(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.MenuProvider containerSupplier, Consumer<net.minecraft.network.FriendlyByteBuf> extraDataWriter)
     

    Methods inherited from class org.cyclops.cyclopscore.helper.MinecraftHelpersCommon

    compareBlockPos, getBlockNotify, getBlockNotifyClient, getBlockNotifyNoRerender, getComparatorMultiplier, getDayLength, getMinecraftVersion, getMinecraftVersionMajorMinor, getSecondInTicks, isPlayerInventoryFull, setDay, successAction

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.cyclops.cyclopscore.helper.IMinecraftHelpers

    compareBlockPos, getBlockNotify, getBlockNotifyClient, getBlockNotifyNoRerender, getComparatorMultiplier, getDayLength, getMinecraftVersion, getMinecraftVersionMajorMinor, getSecondInTicks, isPlayerInventoryFull, setDay, successAction
  • Constructor Details

    • MinecraftHelpersNeoForge

      public MinecraftHelpersNeoForge()
  • Method Details

    • isDevEnvironment

      public boolean isDevEnvironment()
      Specified by:
      isDevEnvironment in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • isMinecraftInitialized

      public boolean isMinecraftInitialized()
      Specified by:
      isMinecraftInitialized in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • isModdedEnvironment

      public boolean isModdedEnvironment()
      Specified by:
      isModdedEnvironment in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • isClientSide

      public boolean isClientSide()
      Specified by:
      isClientSide in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • isClientSideThread

      public boolean isClientSideThread()
      Specified by:
      isClientSideThread in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • isModLoaded

      public boolean isModLoaded(String modId)
      Specified by:
      isModLoaded in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • openMenu

      public void openMenu(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.MenuProvider containerSupplier, Consumer<net.minecraft.network.FriendlyByteBuf> extraDataWriter)
      Specified by:
      openMenu in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • getCurrentServer

      public net.minecraft.server.MinecraftServer getCurrentServer()
      Specified by:
      getCurrentServer in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers
    • isFakePlayer

      public boolean isFakePlayer(net.minecraft.world.entity.player.Player player)
      Specified by:
      isFakePlayer in interface org.cyclops.cyclopscore.helper.IMinecraftHelpers