maps the given stack to the given page of the entry . concode_field_sep LexiconEntry entry concode_elem_sep Map<String,EntryData> mappings concode_elem_sep int page concode_field_sep String stackToString concode_elem_sep EntryData getDataForStack concode_elem_sep void remove
void function ( ItemStack arg0 , LexiconEntry arg1 , int arg2 , boolean arg3 ) { EntryData loc0 = new EntryData ( arg1 , arg2 ) ; String loc1 = stackToString ( arg0 ) ; if ( arg3 || ! mappings . containsKey ( loc1 ) ) mappings . put ( loc1 , loc0 ) ; if ( arg1 . getIcon ( ) == null ) arg1 . setIcon ( arg0 . copy ( ) ) ; }