Jump to content




[Peripheral] How can i enable modem support?



2 replies to this topic

#1 COOLGAMETUBE

  • Members
  • 49 posts
  • LocationGermany

Posted 31 March 2016 - 01:43 PM

I created a peripheral but it can't be connected to a computer throught a modem ( i can't place a modem on the peripheral ).

I got in touch with Lyqd's peripheral example and structure.


Thread: http://www.computerc...al-notifylight/
GitHub: https://github.com/C...s/notifications

#2 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 31 March 2016 - 04:45 PM

The issue is that the block isn't solid, and modems require your block to be solid. To overcome this you can override isSideSolid to return true. I don't think this will break lighting, though you'll have to test.

#3 COOLGAMETUBE

  • Members
  • 49 posts
  • LocationGermany

Posted 31 March 2016 - 09:20 PM

 SquidDev, on 31 March 2016 - 04:45 PM, said:

The issue is that the block isn't solid, and modems require your block to be solid. To overcome this you can override isSideSolid to return true. I don't think this will break lighting, though you'll have to test.

Thanks!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users