Jump to content

Enginecrafter

Members
  • Posts

    100
  • Joined

  • Last visited

Everything posted by Enginecrafter

  1. I made a class for doing this. Simply create new class in your lib(?) package and copy this into it.
  2. I am not sure what is this meant to do, but you can create regular container, but you must create your own slit that overrides default slot. In the class you must define that it cannot accept any item.
  3. The field cannot be assigned because these fields are final but I will try to find anither way to do this.
  4. Try something like this Main class Blocks.sand = new BlockCustomizedSand() Customized block class public class BlockCustomizedSand extends BlockSand { @Override Override methods you want }
  5. Oh thanks. I am happy too I finally helped someone.
  6. Sorry if this is stupid question. But Hand = harvest level -1?
  7. I am not sure it will work in 1.8.9 but it works in 1.7.10 If you know, there is list of blocks. Like Blocks.sand If you pick up your block for modifying, then use some basic methods from Block class. Example Block b = Blocks.sand; b.setHardness(6.0F) //Sets a hardness for given block b.setTextureName(.......) //Sets texture for block. b.setHarvestLevel("pickaxe", 3) //Sets harvest level for block. And so on... If I am wrong with this, simply write a reply or PM me.
  8. BTW @jmylifecolor I highly recommend you to learn english when posting to any english forums. Just a suggesion. Have a nice day.
  9. Fixed, the mistake was I referred to variable(GUI_ID) that was stored inside each GUI class. I moved them to GUI Handler. Anyway thank you for help. And special thanks to Choonster for giving me clue to fix it
  10. Sorry Draco I didn't have much time to copy all the code. I am so sorry.
  11. Ok I will have a look at it tomorrow and wirte a reply. Anyway thanks for helping for now.
  12. Hi there. Recently I tried to run my mod on server(using forge pre-built server run config). It worked fine until I tried to access any GUI. For example Gui of my machine compressor. Here is my crash report. http://pastebin.com/hWbGUNSV If you need my code for solving, simply wirte reply and I will post them. I will accept any help.
  13. com.ec.lib.CustomGui.InvGui extends ContainerGui I use it only in GuiHandler and block's implemented methd from abstract InventoryBlock that needs gui ID for opening it when right clicking the block. I tried to hardcode the gui number. It helped and gui opened without crash. But when I clicked gui button server again closed.
  14. Recently I noticed ti has some problems with finding correct Classes. When I run any code it writes into console that NoClasssDefFound exception like this
  15. I am running it from Eclipse IDE. If you meant that, I have never looked at build.gradle and never built my mod into jar
  16. Yesterday I tried to run my mod on server(default pre-set run configuration) and I got this crash report <spoiler> <code> [15:40:11] [server thread/INFO]: Starting minecraft server version 1.7.10 [15:40:21] [server thread/ERROR]: Encountered an unexpected exception cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) ~[LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515) ~[Loader.class:?] at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) ~[FMLServerHandler.class:?] at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer at com.ec.Main.MainRegistry.preLoad(MainRegistry.java:62) ~[MainRegistry.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ~[Loader.class:?] ... 5 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at com.ec.Main.MainRegistry.preLoad(MainRegistry.java:62) ~[MainRegistry.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ~[Loader.class:?] ... 5 more Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer for invalid side SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.10-10.13.2.1230.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25] at com.ec.Main.MainRegistry.preLoad(MainRegistry.java:62) ~[MainRegistry.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ~[Loader.class:?] ... 5 more [15:40:22] [server thread/ERROR]: This crash report has been saved to: *#@[đ€]đ€đ (#Secret) </code> </spoiler> This is my main mod class <spoiler> <code> package com.ec.Main; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.client.MinecraftForgeClient; import com.ec.blocks.MyBlocks; import com.ec.entity.EntityLion; import com.ec.entity.EntityLionMob; import com.ec.handler.EnventHandlers; import com.ec.handler.GuiHandler; import com.ec.handler.PasswordPacket; import com.ec.handler.UniversalMessage; import com.ec.items.ItemBanner; import com.ec.items.MyItems; import com.ec.lib.OreGeneration; import com.ec.lib.RefStrings; import com.ec.models.LionMob; import com.ec.render.RenderItemBanner; import com.ec.render.RenderLionMob; import com.ec.render.RenderSeparator; import com.ec.tileentity.TileEntitySeparator; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @Mod(modid = RefStrings.MODID, name = RefStrings.NAME, version = RefStrings.VERSION) public class MainRegistry { @SidedProxy(clientSide = "com.ec.Main.ClientProxy", serverSide = "com.ec.Main.ServerProxy") public static ServerProxy proxy; @Instance(RefStrings.MODID) public static MainRegistry instance; public static SimpleNetworkWrapper passwordPacket; public static SimpleNetworkWrapper universalPacket; @EventHandler public static void preLoad(FMLPreInitializationEvent PreEvent) { MyItems.mainRegistry(); MyBlocks.mainRegistry(); CraftingManager.mainRegistry(); OreGeneration.mainRegistry(); proxy.registerTileEntities(); EntityLion.mainRegistry(); NetworkRegistry.INSTANCE.registerGuiHandler(MainRegistry.instance, new GuiHandler()); ClientProxy.registerRenders(); Achievements.mainRegistry(); FMLCommonHandler.instance().bus().register(new EnventHandlers()); passwordPacket = NetworkRegistry.INSTANCE.newSimpleChannel("PasswordChannel"); passwordPacket.registerMessage(PasswordPacket.Handler.class, PasswordPacket.class, 0, Side.SERVER); universalPacket = NetworkRegistry.INSTANCE.newSimpleChannel("UniversalChannel"); universalPacket.registerMessage(UniversalMessage.Handler.class, UniversalMessage.class, 1, Side.SERVER); } @EventHandler public static void load(FMLInitializationEvent event) { } @EventHandler public static void postLoad(FMLPostInitializationEvent PostEvent) { } } </code> </spoiler>
  17. And, Have I to copy-paste all my code to GitHub? Or there is a "simple way"?
  18. Sorry, I have never worked with GitHub.
  19. The advanced gui is "advanced", because it uses lot of buttons, sends packets and so on. I want ot create something like password lock that when correct password is entered, changes block on location that is set using my item "remote manipulator" and the block sets remote block's metadata to 1. Once the remote receiver has metadata 1 it emits redstone signal. And, I don't want to create GitHub because I must update it every time I post something. And there I call the function: @Override public void drawScreen(int x, int y , float tick) { int[] screenPos = MainLib.createScreenBase(new int[]{width, height, 194, 168}, this, res); MainLib.drawRectangle(new int[]{screenPos[0], screenPos[1], 0, 177, 68, 20}, this.zLevel); super.drawScreen(x, y, tick); }
  20. I created new basic gui to test this and it worked, but on the advanced gui(the original gui) isn't still working. They are both using the same gui texture. My function to render rectangle contained in texture on gui http://pastebin.com/WDhYeED2
  21. I binded my texture in MainLib.createScreenBase(some parameters) http://pastebin.com/WgGJ3MRu And, what is z-value?
  22. What do you mean? How can I do it? Is this method correct or I didn't understood it correctly? Code: http://pastebin.com/947L7sEp
  23. I used it this way: x - where I want to draw it on screen X y - where I want to draw it on screen Y u - position of rectangle in texture - X v - position of rectangle in texture - Y width height And, what do 0~1 mean? Did you mean I have to make a mathod where u and v will be always 0 and 1?
  24. I have a GuiScreen that shows a rectangle contained in texture file, but instedaded of showing rectangle it only shows a starange symblols like thaumcraft fonts. Erroring GuiScreen: package com.ec.screen; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.stream.ChatController; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.item.EntityTNTPrimed; import net.minecraft.entity.passive.EntityPig; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.ChatComponentTranslation; import net.minecraft.util.ResourceLocation; import net.minecraft.world.World; import net.minecraftforge.client.event.RenderGameOverlayEvent.Chat; import org.lwjgl.input.Keyboard; import org.lwjgl.opengl.GL11; import com.ec.handler.PacketMessage; import com.ec.lib.MainLib; import com.ec.lib.RefStrings; import com.ec.tileentity.TileEntityPasswordLock; public class PasswordChangeScreen extends GuiScreen{ int screenWidth = 196; int screenHeight = 169; public static int id = 2; public static String enteredPassword = ""; public static World world; public static int x; public static int y; public static int z; public static EntityPlayer player; public PasswordChangeScreen(World world, int x, int y, int z, EntityPlayer player) { this.world = world; this.x = x; this.y = y; this.z = z; this.player = player; } @Override public void drawScreen(int x, int y, float tick) { int screenX = (width - screenWidth) / 2; int screenY = (height - screenHeight) / 2; GL11.glColor4f(1, 1, 1, 1); drawDefaultBackground(); mc.renderEngine.bindTexture(new ResourceLocation(RefStrings.MODID, "textures/gui/PasswordGui.png")); drawTexturedModalRect(screenX, screenY, 0, 0, screenWidth, screenHeight); fontRendererObj.drawString(enteredPassword, screenX + 36, screenY + 11, 0); this.drawTexturedModalRect(screenX + 110, screenY + 11, 145, 171, 68, 20); super.drawScreen(x, y, tick); } @Override public void initGui() { int screenX = (width - screenWidth) / 2; int screenY = (height - screenHeight) / 2; buttonList.clear(); GuiButton one; GuiButton two; GuiButton three; GuiButton four; GuiButton five; GuiButton six; GuiButton seven; GuiButton eight; GuiButton nine; GuiButton zero; GuiButton erase; GuiButton changePassword; GuiButton back; buttonList.add(one = new GuiButton(1, screenX + 25, screenY + 25, 10, 10, "1")); buttonList.add(two = new GuiButton(2, screenX + 45, screenY + 25, 10, 10, "2")); buttonList.add(three = new GuiButton(3, screenX + 65, screenY + 25, 10, 10, "3")); buttonList.add(four = new GuiButton(4, screenX + 25, screenY + 45, 10, 10, "4")); buttonList.add(five = new GuiButton(5, screenX + 45, screenY + 45, 10, 10, "5")); buttonList.add(six = new GuiButton(6, screenX + 65, screenY + 45, 10, 10, "6")); buttonList.add(seven = new GuiButton(7, screenX + 25, screenY + 65, 10, 10, "7")); buttonList.add(eight = new GuiButton(8, screenX + 45, screenY + 65, 10, 10, "8")); buttonList.add(nine = new GuiButton(9, screenX + 65, screenY + 65, 10, 10, "9")); buttonList.add(zero = new GuiButton(0, screenX + 45, screenY + 85, 10, 10, "0")); buttonList.add(erase = new GuiButton(10, screenX + 85, screenY + 45, 15, 20, "Clear")); buttonList.add(changePassword = new GuiButton(11, screenX + 125, screenY + 55, 20, 20, "Change password")); buttonList.add(back = new GuiButton(12, screenX + 125, screenY + 85, 20, 20, "Back")); super.initGui(); } @Override public void actionPerformed(GuiButton button) { int screenX = (width - screenWidth) / 2; int screenY = (height - screenHeight) / 2; TileEntityPasswordLock tile = (TileEntityPasswordLock)world.getTileEntity(x, y, z); switch(button.id) { case 0: enteredPassword = enteredPassword + "0"; break; case 1: enteredPassword = enteredPassword + "1"; break; case 2: enteredPassword = enteredPassword + "2"; break; case 3: enteredPassword = enteredPassword + "3"; break; case 4: enteredPassword = enteredPassword + "4"; break; case 5: enteredPassword = enteredPassword + "5"; break; case 6: enteredPassword = enteredPassword + "6"; break; case 7: enteredPassword = enteredPassword + "7"; break; case 8: enteredPassword = enteredPassword + "8"; break; case 9: enteredPassword = enteredPassword + "9"; break; case 10: enteredPassword = ""; break; case 11: if(enteredPassword.length() == 4) { MainLib.sendPacketToServer(new PacketMessage("changePassword", x, y, z, enteredPassword)); mc.displayGuiScreen(null); } break; case 12: MainLib.openGui(player, PasswordLockScreen.id, world, x, y, z); break; default: break; } } }
  25. Well, I understood the code. Thank you very much.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.