You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Want to create a Control Panel for attractions, but i need a way to interface with wireless redstone
Like activateRedstone("Channelname", TIME);
and things like isActivated("Channelname")
The text was updated successfully, but these errors were encountered:
There is a hacky way since I made everything public (maybe not the best idea). But you can do things like this:
WirelessChannelchannel = WirelessRedstone.getStorage().getWirelessChannel("testChannel");
if (channel == null) //If it doesn't exist it is nullreturnfalse;
//I have no idea why we have two different functions. Try both out and see which works the best. (I probably remove one of these methods)booleanisActive = channel.isActive();
booleanisOn = channel.isOn();
//Some basic on/off functionschannel.turnOn(); //Turn on infinitechannel.turnOn(1000); //The argument is how long the channel should be active. KEEP IN MIND this is milliseconds NOT ticks.channel.turnOff(); //Turn off
Want to create a Control Panel for attractions, but i need a way to interface with wireless redstone
Like activateRedstone("Channelname", TIME);
and things like isActivated("Channelname")
The text was updated successfully, but these errors were encountered: