Exemple #1
0
def TAG_String(nbt_file, output_file):
    size = read_struct(STRING_LENGTH_STRUCT, nbt_file)[0]
    handle_small_tag(nbt_file, output_file, size * 1)
Exemple #2
0
def TAG_Double(nbt_file, output_file):
    handle_small_tag(nbt_file, output_file, 8)
Exemple #3
0
def TAG_Float(nbt_file, output_file):
    handle_small_tag(nbt_file, output_file, 4)
Exemple #4
0
def TAG_Long(nbt_file, output_file):
    handle_small_tag(nbt_file, output_file, 8)
Exemple #5
0
def TAG_Short(nbt_file, output_file):
    handle_small_tag(nbt_file, output_file, 2)
Exemple #6
0
def TAG_Byte(nbt_file, output_file):
    handle_small_tag(nbt_file, output_file, 1)