Jump to content




making the beacon a peripheral


  • You cannot reply to this topic
40 replies to this topic

#1 Jappards

  • Validating
  • 116 posts
  • LocationHolland

Posted 14 April 2013 - 06:16 AM

the beacon should be a peripheral, there would also be a beacon API.
some of the commands would be:
beacon.setBuff(buff,strenght)--would set the buff the beacon would send to players.
beacon.setRange(range)--would send the range in blocks, but the range can`t get further than the maximum of the piramid size.
beacon.toggle(boolean)--would toggle the beacon or set to true(beacon set to on)or false(beacon set to off)
beacon.toggleBeam(boolean)--would toggle the beam of the beacon, wouldn`t be able to be used in the nether.
beacon.toggleBuff(boolean)--would toggle the buff of the beacon
beacon.selectEffect(buff)--would select the buff of the beacon


#2 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 14 April 2013 - 06:38 AM

Why would you want to set the range to be less than default? I can see no situation in which that would be desirable.

#3 Jappards

  • Validating
  • 116 posts
  • LocationHolland

Posted 14 April 2013 - 06:49 AM

i know: on a server for PvP in an arena to set the range within the stadium you don`t want to make the range too big if the area around is also PvP and maybe you want to do that also in adventure maps.

#4 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 14 April 2013 - 01:28 PM

This seems like an interesting idea! I mean, Command Blocks are a peripheral, so why can't Beacons be?

#5 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 14 April 2013 - 04:21 PM

I don't like the idea.. Mostly for the same reason Bubba stated.

Off topic: At first I thought this said 'Making the bacon a peripheral' which is why I clicked it..

#6 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 14 April 2013 - 06:01 PM

Terrible idea. I don't like it.

#7 Jappards

  • Validating
  • 116 posts
  • LocationHolland

Posted 14 April 2013 - 07:37 PM

you dont have to use this idea, why would you use it when you dont like the idea of making the beacon a peripheral?

#8 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 14 April 2013 - 07:42 PM

I don't see the point to this really.

And I don't even think it would be possible to do any of these things, I haven't actually checked out the code for the beacon, but I would assume that Mojang would have made most of its internals private so that mods couldn't mess with it...

#9 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 14 April 2013 - 08:20 PM

View Posttheoriginalbit, on 14 April 2013 - 07:42 PM, said:

I don't see the point to this really.

And I don't even think it would be possible to do any of these things, I haven't actually checked out the code for the beacon, but I would assume that Mojang would have made most of its internals private so that mods couldn't mess with it...

Same with the command block I believe. Didn't they have to use reflection to access the internal methods?

#10 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 14 April 2013 - 08:22 PM

View PostBubba, on 14 April 2013 - 08:20 PM, said:

Same with the command block I believe. Didn't they have to use reflection to access the internal methods?
Hmmm maybe, I thought there were getters and setters for most of the command block features though. I could be wrong.

#11 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 14 April 2013 - 08:27 PM

I really think this idea is weird you can already enable and disable it with a piston or turtle. If you want it make peripheral for it I would say.

#12 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 17 April 2013 - 03:04 PM

View Postsuperaxander, on 14 April 2013 - 08:27 PM, said:

I really think this idea is weird you can already enable and disable it with a piston or turtle. If you want it make peripheral for it I would say.

You could also enable a command block with redstones output, but as a peripheral it enable you to automatically swap out the command.

(not that I care on way or the other. I just like tossing what ever I know into the ring.)

#13 Azzar

  • Members
  • 10 posts

Posted 25 May 2013 - 12:09 PM

View PostLeft4Cake, on 17 April 2013 - 03:04 PM, said:

View Postsuperaxander, on 14 April 2013 - 08:27 PM, said:

I really think this idea is weird you can already enable and disable it with a piston or turtle. If you want it make peripheral for it I would say.

You could also enable a command block with redstones output, but as a peripheral it enable you to automatically swap out the command.

(not that I care on way or the other. I just like tossing what ever I know into the ring.)

Adding any peripheral to the game is a good idea! You can wrap a command block which eliminates the need for 1000 command blocks in your map plus with the logic of a computer you can make the command blocks intelligent to a degree. You can wrap an Iron Note Block and play any midi file you have converted to nbs using Note Block Studio. You can wrap an Adventure Map Interface made by Immibis to mod the game pretty much in any way (eg. you can create any block in the game and place it and also change its meta values).

#14 electrodude512

  • Members
  • 167 posts
  • LocationEastern USA

Posted 28 May 2013 - 02:55 PM

Ask Mikeemoo to add this to Open Peripheral if you want to see it happen.

#15 ScruffyRules

  • Members
  • 98 posts

Posted 29 May 2013 - 05:11 AM

/effect?

#16 Guest_ZetaNeta_*

  • Guests

Posted 31 May 2013 - 06:43 PM

i like the idea. Beacon should be controlable from CC

#17 Jappards

  • Validating
  • 116 posts
  • LocationHolland

Posted 01 June 2013 - 02:44 AM

i already asked it to the mod developer from open peripheral, reaction:
Spoiler


#18 D3matt

  • Members
  • 830 posts

Posted 02 June 2013 - 02:21 PM

Toggle shouldn't be a boolean. Change the method to enableBeam or something less abmigious. A toggle is something that you can only change from one state to another. IE, togglebeam() would set it on of it was off and off if it was on.

#19 1vannn

  • Members
  • 111 posts
  • LocationOhio, USA

Posted 21 June 2013 - 11:58 PM

View PostJappards, on 14 April 2013 - 06:16 AM, said:

the beacon should be a peripheral, there would also be a beacon API.
some of the commands would be:
beacon.setBuff(buff,strenght)--would set the buff the beacon would send to players.
beacon.setRange(range)--would send the range in blocks, but the range can`t get further than the maximum of the piramid size.
beacon.toggle(boolean)--would toggle the beacon or set to true(beacon set to on)or false(beacon set to off)
beacon.toggleBeam(boolean)--would toggle the beam of the beacon, wouldn`t be able to be used in the nether.
beacon.toggleBuff(boolean)--would toggle the buff of the beacon
beacon.selectEffect(buff)--would select the buff of the beacon
There is a peripheral for this.

#20 Pharap

  • Members
  • 816 posts
  • LocationEngland

Posted 29 June 2013 - 01:19 PM

I think it's on the way to being a good idea.

The advantage would be to have a moveable beacon.
Obviously as a side effect you would have to cut the range and the peripheral would have to be expensive to craft or require extra fuel to keep it powered, but I think it's a good idea.
Effectively it would make the turtle kind of like a companion casting support magic on you to aid you in battle.
There's already an attack turtle for fighting enemies, so surely a support turtle for invoking buffs makes some sense.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users