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.

slenered

Members
  • Joined

  • Last visited

Everything posted by slenered

  1. PR do you mean Pull Request?
  2. mixins? and how do you make an event?
  3. I would like to add some vanilla items to isPiglinCurrency code: public interface MakeisPiglinCurrency extends ICapabilitySerializable<CompoundNBT>{ default boolean isPiglinCurrency(ItemStack stack) { return stack.isIn(MakePiglinCurrency.isPiglinCurrency);; } } Help is much appreciated
  4. "java.home": "C:\\Program Files\\Eclipse Foundation\\jdk-16.0.2.7-hotspot", ... "java.configuration.runtimes": [ { "name": "JavaSE-1.8", "path": "C:\\Program Files\\Eclipse Foundation\\jdk-8.0.302.8-hotspot", "default": true } They say they are JDKs
  5. the output: traceback: this to first time making a mod thanks in advanced
  6. the class doesn't exist minecraft 1.12.2
  7. the class doesn't exist minecraft 1.12.2
  8. I want to know how to get the block position from ray-trace but with the decimals
  9. I want to know if I'm barking up the wrong tree? If I am, please help me find a better alternative, or if I'm right, help me with finding the solution. TY package net.mcreator.aliveagain; import net.minecraft.util.math.RayTraceResult; import net.minecraft.entity.Entity; @Elementsaliveagain.ModElement.Tag public class MCreatorDeadSlabTopBlockIsPlacedBy extends Elementsaliveagain.ModElement { public MCreatorDeadSlabTopBlockIsPlacedBy(Elementsaliveagain instance) { super(instance, 95); } public static void executeProcedure(java.util.HashMap<String, Object> dependencies) { if (dependencies.get("entity") == null) { System.err.println("Failed to load dependency entity for procedure MCreatorDeadSlabTopBlockIsPlacedBy!"); return; } Entity entity = (Entity) dependencies.get("entity"); System.out.println((entity.world.rayTraceBlocks(entity.getPositionEyes(1f), entity.getPositionEyes(1f).addVector(entity.getLook(1f).x * 100, entity.getLook(1f).y * 100, entity.getLook(1f).z * 100), false, false, true))); } } /*.getBlockPos().getY()*/ Console: *Cutting to the chase* HitResult{type=BLOCK, blockpos=BlockPos{x=197, y=5, z=446}, f=north, pos=(197.62231148178964, 5.405041827533119, 446.0), entity=null}

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.