Skip 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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. Read about capabilities.
  2. 1.7.10 is how many years old now? And if this is 1.8 how many years old is that? We dont support any versions below 1.9.x and soon that will be gone too.
  3. I agree with draco18s, so to tell you how to do the reflection part, ReflectionHelper has a setField or setValue. No replacing vanilla code just the instance that houses it.
  4. No, there is no need simple iterating through your Item instances and calling ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); Is enough
  5. I have not seen this, however you could probably look for the mcp(minecraft coder pack for 1.13 and check. No. This is too bug of a change. Use reflection and add another entry to the enum. Look at how the EnumHelper class does it if you need an example.
  6. @PhilipChonacky IHasModel is a terrible method of applying a model to an Item. All Items have models and all the required information to register a model to an item is public. You can just register the item in the ModelRegistryEvent by calling your ClientProxy method from there. However on to your actual problem. I have to theories one being since you call the super method in onUpdate the default behavior applies. Or it's the fact that you are only setting the entity to dead on the server(might be synced, unsure). I believe the first one has a higher probability. Try stepping through the code in the debugger to find out what is happening.
  7. Take a look at the code, you can look in any of the Minecraft or forge classes.
  8. Minecraft#keyBindings I believe is the field where the information about keybindings is stored.
  9. Ok. Now can you see how to prevent it, what boolean can you change?
  10. Did you step through past your code into the vanilla code that is spawning the gravel?
  11. Step through it in the debugger. You've also given no context when is this method called. In your Biome code? A structure generation? Your ChunkGenerator?
  12. You'll have to make your own block that is the unlit torch.
  13. Sometimes there is an extra "clause" that gives more information. I was mainly looking for the exact file path it was looking in. But my next logical check would be, did you refresh eclipses/ideas files.
  14. Is that the whole error or is there a part that says caused by below that part.
  15. Did it say anything in the console about a missing texture? Also are you sure that your draw method is being called?
  16. Isn't that what you are already doing? The motion variables in the entity class are velocity, and the entities position is its position. So the partial ticks multiplied by the motion variable + the position would result in the same thing.
  17. Using partial ticks and doubles is probably the best you can do to animate something in minecraft. Since it wasn't designed for something to move that fast within normal conditions.
  18. No there isn't you are limited by Minecraft here/your FPS.
  19. Try adding another FF on to the front of your hexadecimal string.
  20. You cant render text in the event that isn't Text. There is a RenderGameOverlayEvent.Text.
  21. Try looking in the ItemStack class for a method or looking around in the minecraft or forge source code that has to deal with ItemStacks like the Container classes or ItemStackHandler class.
  22. This doesn't match the picture you posted.
  23. These if statements will never be true. Please learn how "==" works. You should be comparing the Items within the stacks instead of the ItemStacks.

Important Information

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

Account

Navigation

Search

Search

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.