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.

Sail338

Members
  • Joined

  • Last visited

Everything posted by Sail338

  1. anyone know why or what I am doing wrong
  2. I am using Extra utilities Energy Node and when connected by itself it produces 0 rf/t but when i connect an energy extraction thingy and then connect a Node to the exraction pipe it does output rf.... how strange
  3. so i got the RF api and attempted to generate RF with this public void updateEntity() { if(!this.worldObj.isRemote) { storage.setEnergyStored(storage.getEnergyStored() + 10); and then attmped to extract the rf with this public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) { return storage.extractEnergy(maxExtract, simulate); but i am not getting any output. am i generating the RF properly
  4. tried changing the if statement to a while statement, getting a null pointer expection
  5. So I tried mimicing the beacon code. I know the ticker variable is working but the potion effects are not applying is there anything wrong with my code? Forgive me i am new to modding public PolCanEntity() { double ranges = 6; if(ticker >= 23 ) { int pollutionlevel = 100; AxisAlignedBB axis = AxisAlignedBB.getBoundingBox((double)xCoord-ranges, (double)yCoord, (double)zCoord, (double)xCoord + ranges, (double)yCoord + ranges, (double)zCoord + ranges); List list = this.worldObj.getEntitiesWithinAABB(EntityPlayer.class,axis); Iterator ilikepie = list.iterator(); EntityPlayer player; if(pollutionlevel >=100 && ilikepie.hasNext()) { player = (EntityPlayer)ilikepie.next(); player.addPotionEffect(new PotionEffect(17,1000,1,true)); ticker = 0;

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.