Jump to content
  • Home
  • Files
  • Docs
  • Merch
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Guebeul

Guebeul

Members
 View Profile  See their activity
  • Content Count

    11
  • Joined

    August 15, 2018
  • Last visited

    January 27

Community Reputation

0 Neutral

About Guebeul

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Guebeul

    How do I render bounding box to entity?

    Guebeul posted a topic in Modder Support

    I want the bounding box to be visible to the entity the player is looking at. But the bounding box is displayed to me. How do I display this to entity? This is my code: @SubscribeEvent public void renderWorldLastEvent(RenderWorldLastEvent event) { if (Minecraft.getMinecraft().objectMouseOver.entityHit != null) { renderEntityBox(Minecraft.getMinecraft().objectMouseOver.entityHit, event.getPartialTicks()); } } void renderEntityBox(Entity entity, float PartialTicks) { AxisAlignedBB boundingBox = entity.getEntityBoundingBox(); double d0 = entity.lastTickPosX + (entity.posX - entity.lastTickPosX) * (double)PartialTicks; double d1 = entity.lastTickPosY + (entity.posY - entity.lastTickPosY) * (double)PartialTicks; double d2 = entity.lastTickPosZ + (entity.posZ - entity.lastTickPosZ) * (double)PartialTicks; Tessellator.getInstance().getBuffer().setTranslation(-d0, -d1, -d2); RenderGlobal.drawSelectionBoundingBox(boundingBox, 1.0F,1.0F,1.0F,1.0F); Tessellator.getInstance().getBuffer().setTranslation(0,0,0); } Or can the entity's outline be displayed in red? Instead of doing it like a Glowing effect, it's red.
    • January 26
    • 2 replies
  2. Guebeul

    Ticking entity problem

    Guebeul replied to Guebeul's topic in Modder Support

    Thank you Although not related to the above, Do you know how to damage to player?
    • January 14
    • 3 replies
  3. Guebeul

    Ticking entity problem

    Guebeul posted a topic in Modder Support

    Hi, modder. I want to make the player execute server commands. player.getServer().getCommandManager().executeCommand(player.getCommandSenderEntity(), "/cold"); So I wrote the above code. Then I tested it. However, when I put mod into the server and client and run it, the server has no problem, but the client has the following Ticking Entity problem. https://pastebin.com/HDcwGrut The line 148 of the EventHandler pointed to by "at kr.guebeul.hertz.util.handler.EventHandler.playerevent (EventHandler.java:148)" is the same as above code. Here is the "playerevent" code for EventHandler: @SubscribeEvent public void playerevent(LivingEvent event) { if (event.getEntityLiving() instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer) event.getEntityLiving(); IFatigue fatigue = player.getCapability(FatigueProvider.FATIGUE_CAPABILITY, null); ITemperature temperature = player.getCapability(TempProvider.TEMP_CAP, null); IThirst thirst = player.getCapability(ThirstProvider.THIRST_CAPABILITY, null); if (temperature.getTemp() < 70.0F && temperature.getTemp() > 50.0F) { if (!temp70) { player.getServer().getCommandManager().executeCommand(player.getCommandSenderEntity(), "/cold"); //Line 148 temp70 = true; } } if (temperature.getTemp() < 50.0F && temperature.getTemp() > 20.0F) { if (!temp50) { player.getServer().getCommandManager().executeCommand(player.getCommandSenderEntity(), "/frostbite"); temp50 = true; } } if (temperature.getTemp() < 20.0F && temperature.getTemp() > 0.0F) { if (!temp20) { player.getServer().getCommandManager().executeCommand(player.getCommandSenderEntity(), "/hypo"); temp20 = true; } } } }
    • January 14
    • 3 replies
  4. Guebeul

    How do I remove an certain item from the player inventory?

    Guebeul posted a topic in Modder Support

    I know that "addItemStackToInventory" adds specific items to the inventory. Conversely, how do I remove certain items from my inventory? (version 1.12.2)
    • December 30, 2018
    • 1 reply
  5. Guebeul

    [ 1.12.2 ] How do I change the player inventory layout?

    Guebeul posted a topic in Modder Support

    As the title suggests, I am looking for ways to change the image (layout) of the player inventory. I am amateur but I would like to try it. (Please understand my terrible English) Once in the player inventory, I want to leave only 9 hot bars, a player render, and Armor render. I would also like to include information such as health and food. ( Number 1 in the picture below ) Here is a concrete image created in this way. Can you help me please? I use version 1.12.2.
    • December 2, 2018
  6. Guebeul

    how to display the player's on the screen?

    Guebeul replied to Guebeul's topic in Modder Support

    This means that the player's head is displayed on the screen.
    • October 14, 2018
    • 3 replies
  7. Guebeul

    how to display the player's on the screen?

    Guebeul posted a topic in Modder Support

    Hi. How can I display the player's head on the screen? I thought about using https://minotar.net/ . Now I want to display this through Gui Overlay. Can you help me?
    • October 13, 2018
    • 3 replies
  8. Guebeul

    Can I customize my chatbox?

    Guebeul posted a topic in Modder Support

    Hello everyone. I am developing in 1.12.2. Could you tell me how to change the background image(Include Edge) of the chat box, and how to change the location of the chat box? Sorry, but please teach me.
    • October 7, 2018
    • 1 reply
  9. Guebeul

    [ 1.7.10 ] Where is the null point exception?

    Guebeul replied to Guebeul's topic in Modder Support

    You can not ask questions below version 1.8? It's really important that it is ...
    • August 18, 2018
    • 6 replies
  10. Guebeul

    [ 1.7.10 ] Where is the null point exception?

    Guebeul replied to Guebeul's topic in Modder Support

    You can not ask questions below version 1.8? It's really important that it is ...
    • August 18, 2018
    • 6 replies
  11. Guebeul

    [ 1.7.10 ] Where is the null point exception?

    Guebeul posted a topic in Modder Support

    Hi, I'm going to ask a question. I'm implementing the player's movements through the Obsidian API. But there was a problem.. 1. first person 2. Third person In this way, the player is invisible when you are in third person, and it emits the following error. (Repeat continuously) [13:36:21] [Client thread/ERROR]: Couldn't render entity java.lang.NullPointerException at obsidianAPI.render.player.ModelAnimatedPlayer.setRotationAngles(ModelAnimatedPlayer.java:62) ~[ModelAnimatedPlayer.class:?] at obsidianAPI.render.ModelObj.render(ModelObj.java:355) ~[ModelObj.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:309) ~[RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:165) [RendererLivingEntity.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:167) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderPlayer.doRender(RenderPlayer.java:565) [RenderPlayer.class:?] at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:278) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:251) [RenderManager.class:?] at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:527) [RenderGlobal.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1300) [EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1087) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_172] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_172] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_172] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_172] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] These two pictures are CommonProxy and ClientProxy I touched. 1. CommonProxy 2. ClientProxy As noted in the log, NullPointerException is a problem. I really wonder where this NullPointerException happens. RenderPlayerAnimated: https://github.com/ObsidianSuite/ObsidianSuite/blob/master/API/src/main/java/com/dabigjoe/obsidianAPI/render/player/RenderPlayerAnimated.java ModelAnimatedPlayer: https://github.com/ObsidianSuite/ObsidianSuite/blob/master/API/src/main/java/com/dabigjoe/obsidianAPI/render/player/ModelAnimatedPlayer.java If you know where NullPointerException is happening, the developer can help. Please help me...!
    • August 18, 2018
    • 6 replies
  • All Activity
  • Home
  • Guebeul
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community