Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Pixelmon 1.12.2 Null enitity


Recommended Posts

Try removing safeplace

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.


As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.


For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.


Logs (Most issues require logs to diagnose):


Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.


What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...


...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension


Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.


Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.






or alternately, 


Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft


Server Not Starting:


If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.


Reporting Illegal/Inappropriate Adfocus Ads:


Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.


Posting your mod as a GitHub Repo:


When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.


  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]


Link to comment
Share on other sites

3 hours ago, Invalidm said:

On the server as well as client?

You need to have almost the same mods in the client as the server. If the server crashes, and you remove one of the mods, then you don't need the remove that one from the client too. If you remove one from the client however, then you should remove it from both.

Edited by Legenes
procedure WakeMeUp(Integer plusTime);
  I: Integer;
  for I := 0 to plusTime do begin
    println('One more minute!');
  println('Okay, nothing to worry, I''m alive!');
  println('So... somebody can give me a coffee?');
  println('I know it''s Pascal, and not Java, but I love it :D.');
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I digged a bit into the vanilla code and i found MultiPlayerGameMode#destroyTicks (requires an AT). The only problem is this is client only, if you subscribe to ClientTickEvent in a client only EventHandler class you can access to the MultiPlayerGameMode instance via Minecraft#gameMode. If you use destroyTicks % 20 == 0 you can call the code each second, inside there you send a custom Packet to the server which will damage the Player on server. As I said before, this is unfortunately client only, which means it can easily be modified by other Mods. For this reason it will be difficult to verify this on the server, in this case you might damage the Player even though it doesn't mine a Block.
    • public class GuiSkill extends GuiScreen { final ResourceLocation texture = new ResourceLocation(Unital.MOD_ID, "textures/gui/skillM.png"); int guiWidth = 175; int guiHeight = 228; GuiButton button1; GuiButtonSkills arrow; GuiTextField textBox; final int BUTTON1 = 0, ARROW = 1; String title = "Skills upgrade"; @Override public void drawScreen(int mouseX, int mouseY, float partialTicks) { drawDefaultBackground(); Minecraft.getMinecraft().renderEngine.bindTexture(texture); int centerX = (width / 2) - guiWidth / 2; int centerY = (height / 2) - guiHeight / 2; //drawTexturedModalRect(centerX, centerY, 0, 0, guiWidth, guiHeight); //drawString(fontRendererObj, "Tutorial", centerX, centerY, 0x6028ff); GlStateManager.pushMatrix(); { GlStateManager.enableAlpha(); GlStateManager.enableBlend(); GlStateManager.color(1, 1, 1, 1); Minecraft.getMinecraft().renderEngine.bindTexture(texture); drawTexturedModalRect(centerX, centerY, 0, 0, guiWidth, guiHeight); } GlStateManager.popMatrix(); GlStateManager.pushMatrix(); { GlStateManager.translate((width / 2) - fontRenderer.getStringWidth(title), centerY + 10, 0); GlStateManager.scale(2, 2, 2); fontRenderer.drawString(title, 0, 0, 0x6028ff); } GlStateManager.popMatrix(); //super.drawScreen(mouseX, mouseY, partialTicks); button1.drawButton(mc, mouseX, mouseY); arrow.drawButton(mc, mouseX, mouseY); ItemStack icon = new ItemStack(Blocks.OBSIDIAN); GlStateManager.pushMatrix(); { GlStateManager.translate(centerX, centerY, 0); GlStateManager.scale(2, 2, 2); mc.getRenderItem().renderItemAndEffectIntoGUI(icon, 0, 0); } GlStateManager.popMatrix(); textBox.drawTextBox(); List<String> text = new ArrayList<String>(); text.add(I18n.format("gui.tooltip")); text.add(I18n.format("gui.tooltip2", mc.world.provider.getDimension())); text.add(icon.getDisplayName()); drawTooltip(text, mouseX, mouseY, centerX, centerY, 16 * 2, 16 * 2); } public void drawTooltip(List<String> lines, int mouseX, int mouseY, int posX, int posY, int width, int height) { if (mouseX >= posX && mouseX <= posX + width && mouseY >= posY && mouseY <= posY + height) { drawHoveringText(lines, mouseX, mouseY); } } @Override public void initGui() { buttonList.clear(); buttonList.add(button1 = new GuiButton(BUTTON1, (width / 2) - 100 / 2, height - 40, 100, 20, "Close")); buttonList.add(arrow = new GuiButtonTutorial(ARROW, 100, 100)); textBox = new GuiTextField(0, fontRenderer, 0, 0, 100, 20); updateButtons(); super.initGui(); } public void updateButtons() { if (title.equals("Close")) { button1.enabled = true; } else { button1.enabled = false; } } public void updateTextBoxes() { if (!textBox.getText().isEmpty()) { if (!textBox.isFocused()) { title = textBox.getText(); } } updateButtons(); } @Override protected void actionPerformed(GuiButton button) throws IOException { switch (button.id) { case BUTTON1: mc.displayGuiScreen(null); break; case ARROW: mc.displayGuiScreen(new GuiInventory(mc.player)); break; } updateButtons(); super.actionPerformed(button); } @Override protected void keyTyped(char typedChar, int keyCode) throws IOException { textBox.textboxKeyTyped(typedChar, keyCode); updateTextBoxes(); super.keyTyped(typedChar, keyCode); } @Override protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws IOException { textBox.mouseClicked(mouseX, mouseY, mouseButton); updateTextBoxes(); super.mouseClicked(mouseX, mouseY, mouseButton); } @Override public boolean doesGuiPauseGame() { return false; } }
    • @Luis_ST I am trying to have damage to be consistent during mining process. If it takes 10 seconds to mine it, I would like to reduce health by 1 hit point for every second of mining. So if player starts to mine, after 1 second it should already show that 1/2 of heart is lost. If player decides to stop mining after 4 seconds, he should still end up with 2 hearts lost, even though block was not mined at the end. I don't think that is possible with your solution or did I miss something?
    • Player#displayClientMessage Note in your case the second argument must be true
    • Have you guys checked out this amazing Minecraft gameplay video? It's mind blowing ! Watch the LIVE streaming here : https://shrinke.me/922u3Vb    
  • Topics

  • Create New...

Important Information

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