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
The keyboard is now a working module, it currently uses the hotkey module keybind. I will see what I will do with the hotkey module or if I will create a new Keybind
I've created two new nbt tags to bind the module to the glasses to sync that to the container, I am not sure if there is maybe a better way, but it works
Copy file name to clipboardExpand all lines: src/main/java/de/srendi/advancedperipherals/common/data/EnUsLanguageProvider.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,8 @@ private void addTooltips() {
127
127
addTooltip(APBlocks.PERIPHERAL_CASING.get(), "&7An empty hull without the love it deserves. Used as crafting ingredient.");
128
128
addTooltip(APItems.MEMORY_CARD.get(), "&7Can save the rights of a player to use it in an inventory manager.");
129
129
addTooltip(APItems.KEYBOARD.get(), "&7Can be bound to a computer, used to type something on a computer without the need to open the computer.");
130
-
addTooltip("binding.boundto", "&7Bound to &b%s&7.");
130
+
addTooltip("binding.bound_to", "&7Bound to &b%s&7.");
131
+
addTooltip("binding.bound_to_glasses", "&7Bound to Smart Glasses with Id &b%s&7.");
131
132
addTooltip(APBlocks.INVENTORY_MANAGER.get(), "&7This block is able to send or receive specific items from a player inventory.");
132
133
addTooltip(APBlocks.REDSTONE_INTEGRATOR.get(), "&7This block is able to interact with redstone. Works exactly like the redstone api of an computer.");
133
134
addTooltip(APBlocks.BLOCK_READER.get(), "&7Reads nbt data of blocks to interact with blocks which do not have computer support.");
@@ -148,6 +149,7 @@ private void addTexts() {
148
149
addText("bind_keyboard", "&7Bound to &b%s&7");
149
150
addText("cleared_keyboard", "&7Bind removed");
150
151
addText("keyboard_notbound", "&7Keyboard not bound");
152
+
addText("could_not_bind_keyboard", "&cCould not bind the keyboard to the computer located at &c%s");
151
153
addText("automata_core_feed_by_player", "You're trying to feed an entity to a soul, but your own body refuses to do this. Maybe something more mechanical can do this?");
0 commit comments