Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ItsAMysteriousYT

Members
  • Joined

  • Last visited

Everything posted by ItsAMysteriousYT

  1. Like how? WHat do i have to write. How can i acces the Client? I don't know how to do it
  2. Okay, so now its registered like this: network.registerMessage(PacketHandler.class, SetPropertiesPackage.class, 0, Side.SERVER); and it puts out the propper string, but it does not apply them to the IEEP.
  3. Oh no!! NOWWHERE I must have deleted it damn im so dumb
  4. In the MainClass : @EventHandler public void preInit(FMLPreInitializationEvent event) { MinecraftForge.EVENT_BUS.register(proxy); FMLCommonHandler.instance().bus().register(new ClientTickHandler()); FMLCommonHandler.instance().bus().register(new ServerTickHandler()); RealLifeMod_Blocks.defineBlocks(); RealLifeMod_Items.defineItems(); proxy.setupCrafting(); loadVehicles(); config = new Configuration(event.getSuggestedConfigurationFile()); RealLifeModConfig.syncConfig(); network = NetworkRegistry.INSTANCE.newSimpleChannel(Reference.ID); }
  5. Okay i made the constructor public and also added a print statement. Nothing chaned. Once i closed the gui, minecraft freezes and the error is shown. Also name+Surname still is null,null. This is the error i get:
  6. Okay wait, i think i ned a closer explanation for how i need to use those packets. Why send them to server and then to client? Why i cant do sendToAll,cuz that does not work too.
  7. Yes, i registered the packet and no i haven't got a println, buzt ingame i show the name on a second gui. And that sais null, null
  8. Here is my SetProperties Packet: And this is my PacketHandler:
  9. Im trying to change some IEEP from a GuiScreen that pops up as soon as the player is spawned in the world. In that Gui, he has to set his name and gender and now i wanna aplly these variables to the EntityProperties. Im trying to do this with packethandling, but it won't work properly. In the ActionPerformed method i make this:
  10. Im working on my VehicleEntity but i somehow are confused from the entityStructure. I call the creation of some entitySeats, but they are not created. I have set what should happen when i righclick, but it doesn't happen. Can anybody help me? See my file here:
  11. I managed loading vehicles from file snow and now i created a List of EntitySeats for the different seats. What i need now is spawning the seats WITH the entity, but when i do it in the constructor the entities make really glitchy things.
  12. And also material is set to material.water - probably you should creat an own material for it?
  13. Why does nobody reply? I posted several things in the past days and nobody answered. AM i doing anything wrong?
  14. I registered a custom Renderer, but it does not work properly which means, it tries to get a rendermanager, but there isn't one but i have on in the constructor. See here:
  15. I think ill have to use EntityAdditionalspawndate fore thevehicleloading before entities are rendered, but still i can't render them out - why? here is my renderer:
  16. So i know have fixed all possible bugs in th loading process and this error seems to appear at any other entity of mine too. Somehow Minecraft can't render the shadow/fire of the entity.Any suggestions?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.