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.

Luis_ST

Members
  • Joined

  • Last visited

Everything posted by Luis_ST

  1. Then everything should work fine. Edit: Did you check this in Singleplayer or and server?
  2. Use a lambda expression and create a new Supplier, for the vanilla MobEffects.
  3. Please post debug.log from server and client.
  4. Are you sure it is the full debug.log from the logs folder, since the log does not contains any error which cause the game to crash. If this is the full debug.log please post launcher_log.txt as well.
  5. Does the code of the handle method work, is there a closestEntity?
  6. you need: a BlockStateProperty like the vanilla one which is used in DoublePlantBlock (BlockStateProperties#DOUBLE_BLOCK_HALF) to distinguish the first part of the Block from the second part to override #getStateForPlacement in your Block class and return super if the Block is placeable at the given BlockPos else null, the check depends on the direction where the other Block should be placed, in general you can check if the position is not out of world and if the Block at the position is air to override #setPlacedBy in your Block class and place the other Block to override #canSurvive in your Block class and return true if the other Block exists to drop the Block loot manually if you don't want that the Block loot is dropped twice
  7. when the PathNavigation#isDone returns false in the corner you can try something like this: if (!this.horse.getNavigation().isDone()) { this.horse.getNavigation().moveTo(this.path, 1.5); } else { this.path = // create a new path } you also could try this, if the Path does not work correctly:
  8. CurseForge -> Settings -> Game Specific -> Minecraft -> Enable Forge debug.log
  9. Whats this issue with posting the installer log.
  10. No the game starts normal but if a code part with a breakpoint is execute the, it will be stopped at this breakpoint (Game freezed). You then can continue and you know the code is called, if you repeat this for the way the Packet is called you can find the code part with the issue. In your case you need to set a breakpoint at: Packet send -> Packet encode -> Packet decode -> Packet handle
  11. Show what you have tried. The BedBlock and the DoorBlock are complicated examples for a double block you should look at the DoublePlantBlock.
  12. Use the debugger of your IDE and set at method start a breakpoint. If your not familiar with the debugger of your IDE, check out the website of your IDE in the most cases there is a doc or a wiki about it.
  13. What happen if you replace in a else statement the current path with a new one?
  14. Please post debug.log from the logs folder. On CurseForge you need to enable the debug.log in the settings.
  15. this.horse.getNavigation().moveTo(this.path, 1.5); Is this code in the tick method called, after the Horse is stuck in a corner?
  16. Are the packets sent on client and received on server, is handle called? Use debugger to check.
  17. Maybe this is your issue, try to add only one Goal
  18. Are you in vanilla biomes or in a modded one?
  19. are you sure the positions of the Path are correct and you could use debugger to check how the goal is handled/called Edit: try to place the Horse at a different spot
  20. Run a client (via runClient) join the server with ip localhost and port 25565
  21. ignore my first post, i think you forgot the ! there?
  22. Do not add this goal each tick, once is enough Calculate the positions (1, 2, 3, 4, ...) then call PathNavigation#moveTo for the first position, wait until the horse has reached the position then continue with the same logic for the next position and repeat this step until you at the last position
  23. https://github.com/MinecraftForge/MinecraftForge/blob/094200e687135df77096341e3d56860d96d08384/src/main/java/net/minecraftforge/client/event/ScreenEvent.java#L726-L734 https://github.com/MinecraftForge/MinecraftForge/blob/094200e687135df77096341e3d56860d96d08384/src/main/java/net/minecraftforge/client/event/ScreenEvent.java#L740-L750
  24. the second parameter is the "scanCode" and the third parameter is the "modifiers" ARG 1 keyCode ARG 2 scanCode ARG 3 modifiers

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.