mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-14 01:50:04 +00:00
Correct IPeripheral documentation
It's no longer possible to implement this on the tile, due to the conflict in getType. Given this is a really bad idea, it's not a big issue, but we should mention it in the documentation. Fixes #496.
This commit is contained in:
parent
a6a1b9b8e5
commit
2e9d6603e3
@ -15,8 +15,7 @@ import javax.annotation.Nullable;
|
||||
* The interface that defines a peripheral.
|
||||
*
|
||||
* In order to expose a peripheral for your block or tile entity, you may either attach a {@link Capability}, or
|
||||
* register a {@link IPeripheralProvider}. It is <em>not</em> recommended to implement {@link IPeripheral} directly on
|
||||
* the tile.
|
||||
* register a {@link IPeripheralProvider}. This <em>cannot</em> be implemented {@link IPeripheral} directly on the tile.
|
||||
*
|
||||
* Peripherals should provide a series of methods to the user, either using {@link LuaFunction} or by implementing
|
||||
* {@link IDynamicPeripheral}.
|
||||
|
Loading…
x
Reference in New Issue
Block a user