Commits
Doc authored and md_5 committed d565a710e0d
112 112 | |
113 113 | /** |
114 114 | * Gets the custom model data that is set. |
115 115 | * <p> |
116 116 | * CustomModelData is an integer that may be associated client side with a |
117 117 | * custom item model. |
118 118 | * <p> |
119 119 | * Plugins should check that hasCustomModelData() returns <code>true</code> |
120 120 | * before calling this method. |
121 121 | * |
122 - | * @return the localized name that is set |
122 + | * @return the custom model data that is set |
123 123 | */ |
124 124 | int getCustomModelData(); |
125 125 | |
126 126 | /** |
127 127 | * Sets the custom model data. |
128 128 | * <p> |
129 129 | * CustomModelData is an integer that may be associated client side with a |
130 130 | * custom item model. |
131 131 | * |
132 132 | * @param data the data to set, or null to clear |