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.

poopoodice

Members
  • Joined

Everything posted by poopoodice

  1. Set the render type of the block in your client setup using RenderTypeLookup.setRenderLayer(block, rendertype); or make a shape for it
  2. I think you should do that by sending packets to players that are tracking that chunk. Something like PacketDistributor.TRACKING_CHUNK.with(() -> world.getChunkAt(pos))
  3. AbsctractGui.fill() to fill certain colour in to an area, blit to render an image to the area.
  4. As title, players are unable to connect to the server with mod installed on both sides. (I've tested myself on my two laptops and one of them work, one of they don't) Client shows: "An established connection was aborted by the software in your host machine (but it works fine to join other server)", on Server it just says "Took too long to log in", anyways, debug logs: Some of the names and information are change due to privacy (logs provided by other user) Server Debug Log: https://pastebin.com/3WJjwV8M Client Debug Log: https://pastebin.com/yVd5nxWP Repository: https://bitbucket.org/kaneka/planttech2/src/1.16.x/ Thanks in advance.
  5. I don't think it's your problem, just ignore them.
  6. They are actually the same on client
  7. use BlockStateProperties.FACING instead of HORIZONTAL_FACING
  8. Use the player provided in Minecraft instance.
  9. You probably registered it on the wrong event bus.
  10. Post your code and the log.
  11. What I do is create the command with empty content (does not execute anything) so you have the auto completion, and use ClientChatEvent to compare the input manually, then stop the msg being sent if it matches. Not sure if this works without any side effects, but it works.
  12. I’m not sure what you mean be client side time but there’s a pr on github trying to implement client side commands register event, you might want to have a look at it.
  13. Change the forge version in dependencies, and reimport/refresh the gradle project
  14. Sorry did not see the updated code.
  15. You should only assign their values when they are being registered. ( RegistryObject.of(new ResourceLocation(OresCores.MODID, "telerite_ore"), ForgeRegistries.BLOCKS); is null when you call it there )
  16. You can save the itemstack in the entity (ItemStack.write() ItemStack.read() or something like that to store the data), and use it when needed.
  17. Remember to set registry name for your items.
  18. You created your blocks in the block registry, but you are actually assigning null values in Blocks.java because the block registry is called after.
  19. Assign their values when they are being registered. For example public static Item TEST_ITEM = null; @SubscribeEvent public static void registerItems(RegistryEvent.Register<Item> event) { event.getRegistry().registerAll( TEST_ITEM = new Item(); ); }
  20. You're right, I thought there were glass panes there lol.

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.