Hotel room key (data tag) trouble [duplicate]
I'm making a hotel and a room key system, I'm trying to make the keys only be able to be placed on certain types of wool.
Example of what I'm doing:
/give @p minecraft:lever 1 0 {CanPlaceOn:["minecraft:wool"]}
I want the wool to have data like when in a /give command. The second number is the data example:
/give @p wool 1 5
Best Answer
Actually, this is not possible (yet), even in 1.9. The bug is posted here. (For some reason, it says Resolved, but it's not).
When eventually they fix it, it should look something like this (also simplified your command a bit):
/give @p lever 1 0 {CanPlaceOn:["wool 1"]}
Replace 1
with whatever the ID of the wool you want. Here are the IDs of each colored wool.
Pictures about "Hotel room key (data tag) trouble [duplicate]"
Can you copy hotel room keys?
Can You Copy A Hotel Card Key? In the case of a poorly designed NFC system, it is easy to clone a tag with just an Android phone or other NFC device to copy its data. In contrast, a modern smartcard with true cryptographic authentication is not possible unless the system was poorly implemented in order to clone cards.Are hotel room keys NFC?
It takes a bit of effort for hotels to upgrade their lock systems to take advantage of the new system, which will eventually be offered by Android as well. This new and improved system uses NFC, as opposed to Bluetooth, which powers digital keys inside hotel room apps.Can I use my phone as a hotel room key?
Door lock vendors have developed the technology to let smartphones function as keys, and the hotel industry is starting to experiment with it. The keys are activated through smartphone apps. When guests check in through the app, the hotel sends them their room numbers and enables the phones to act as virtual keys.Can you add a hotel key card to your phone?
You can add a hotel room key to the Apple Wallet app. Then, use your iPhone or Apple Watch to view reservation details, check in, and unlock your room. To add a hotel room key on your iPhone, you need: The latest version of iOS or watchOS.How to clone a security badge in seconds
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Rihards Opincans, Mikhail Nilov, MART PRODUCTION, freemockups.org