Jump to content

poopoodice

Members
  • Posts

    1160
  • Joined

  • Days Won

    7

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. player.sendMessage();
  9. Use the player provided in Minecraft instance.
  10. You probably registered it on the wrong event bus.
  11. Post your code and the log.
  12. 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.
  13. 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.
  14. Change the forge version in dependencies, and reimport/refresh the gradle project
  15. Sorry did not see the updated code.
  16. 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 )
  17. 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.
  18. Remember to set registry name for your items.
  19. 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.
  20. 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(); ); }
  21. You're right, I thought there were glass panes there lol.
×
×
  • Create New...

Important Information

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