Package org.cyclops.cyclopscore.helper
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
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.server.MinecraftServer
boolean
boolean
boolean
boolean
isFakePlayer
(net.minecraft.world.entity.player.Player player) boolean
boolean
boolean
isModLoaded
(String modId) 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 interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
isMinecraftInitialized
public boolean isMinecraftInitialized()- Specified by:
isMinecraftInitialized
in interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
isModdedEnvironment
public boolean isModdedEnvironment()- Specified by:
isModdedEnvironment
in interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
isClientSide
public boolean isClientSide()- Specified by:
isClientSide
in interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
isClientSideThread
public boolean isClientSideThread()- Specified by:
isClientSideThread
in interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
isModLoaded
- Specified by:
isModLoaded
in interfaceorg.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 interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
getCurrentServer
public net.minecraft.server.MinecraftServer getCurrentServer()- Specified by:
getCurrentServer
in interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-
isFakePlayer
public boolean isFakePlayer(net.minecraft.world.entity.player.Player player) - Specified by:
isFakePlayer
in interfaceorg.cyclops.cyclopscore.helper.IMinecraftHelpers
-