StreamTagVisitor.java

net.minecraft.nbt.StreamTagVisitor

信息

  • 全限定名:net.minecraft.nbt.StreamTagVisitor
  • 类型:public interface
  • 包:net.minecraft.nbt
  • 源码路径:src/main/java/net/minecraft/nbt/StreamTagVisitor.java
  • 起始行号:L3
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

  • net.minecraft.nbt.StreamTagVisitor.EntryResult

    • 类型: enum
    • 修饰符: public static
    • 源码定位: L38
    • 说明:

      TODO

  • net.minecraft.nbt.StreamTagVisitor.ValueResult

    • 类型: enum
    • 修饰符: public static
    • 源码定位: L45
    • 说明:

      TODO

构造器

方法

下面的方法块按源码顺序生成。

StreamTagVisitor.ValueResult visitEnd() @ L4

  • 方法名:visitEnd
  • 源码定位:L4
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

说明:

TODO

StreamTagVisitor.ValueResult visit(String value) @ L6

  • 方法名:visit
  • 源码定位:L6
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: String

说明:

TODO

StreamTagVisitor.ValueResult visit(byte value) @ L8

  • 方法名:visit
  • 源码定位:L8
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: byte

说明:

TODO

StreamTagVisitor.ValueResult visit(short value) @ L10

  • 方法名:visit
  • 源码定位:L10
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: short

说明:

TODO

StreamTagVisitor.ValueResult visit(int value) @ L12

  • 方法名:visit
  • 源码定位:L12
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: int

说明:

TODO

StreamTagVisitor.ValueResult visit(long value) @ L14

  • 方法名:visit
  • 源码定位:L14
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: long

说明:

TODO

StreamTagVisitor.ValueResult visit(float value) @ L16

  • 方法名:visit
  • 源码定位:L16
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: float

说明:

TODO

StreamTagVisitor.ValueResult visit(double value) @ L18

  • 方法名:visit
  • 源码定位:L18
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: double

说明:

TODO

StreamTagVisitor.ValueResult visit(byte[] value) @ L20

  • 方法名:visit
  • 源码定位:L20
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: byte[]

说明:

TODO

StreamTagVisitor.ValueResult visit(int[] value) @ L22

  • 方法名:visit
  • 源码定位:L22
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: int[]

说明:

TODO

StreamTagVisitor.ValueResult visit(long[] value) @ L24

  • 方法名:visit
  • 源码定位:L24
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • value: long[]

说明:

TODO

StreamTagVisitor.ValueResult visitList(TagType<?> elementType, int size) @ L26

  • 方法名:visitList
  • 源码定位:L26
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • elementType: TagType<?>
  • size: int

说明:

TODO

StreamTagVisitor.EntryResult visitEntry(TagType<?> type) @ L28

  • 方法名:visitEntry
  • 源码定位:L28
  • 返回类型:StreamTagVisitor.EntryResult
  • 修饰符:package-private

参数:

  • type: TagType<?>

说明:

TODO

StreamTagVisitor.EntryResult visitEntry(TagType<?> type, String id) @ L30

  • 方法名:visitEntry
  • 源码定位:L30
  • 返回类型:StreamTagVisitor.EntryResult
  • 修饰符:package-private

参数:

  • type: TagType<?>
  • id: String

说明:

TODO

StreamTagVisitor.EntryResult visitElement(TagType<?> type, int index) @ L32

  • 方法名:visitElement
  • 源码定位:L32
  • 返回类型:StreamTagVisitor.EntryResult
  • 修饰符:package-private

参数:

  • type: TagType<?>
  • index: int

说明:

TODO

StreamTagVisitor.ValueResult visitContainerEnd() @ L34

  • 方法名:visitContainerEnd
  • 源码定位:L34
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

说明:

TODO

StreamTagVisitor.ValueResult visitRootEntry(TagType<?> type) @ L36

  • 方法名:visitRootEntry
  • 源码定位:L36
  • 返回类型:StreamTagVisitor.ValueResult
  • 修饰符:package-private

参数:

  • type: TagType<?>

说明:

TODO

代码

public interface StreamTagVisitor {
    StreamTagVisitor.ValueResult visitEnd();
 
    StreamTagVisitor.ValueResult visit(final String value);
 
    StreamTagVisitor.ValueResult visit(final byte value);
 
    StreamTagVisitor.ValueResult visit(final short value);
 
    StreamTagVisitor.ValueResult visit(final int value);
 
    StreamTagVisitor.ValueResult visit(final long value);
 
    StreamTagVisitor.ValueResult visit(final float value);
 
    StreamTagVisitor.ValueResult visit(final double value);
 
    StreamTagVisitor.ValueResult visit(final byte[] value);
 
    StreamTagVisitor.ValueResult visit(final int[] value);
 
    StreamTagVisitor.ValueResult visit(final long[] value);
 
    StreamTagVisitor.ValueResult visitList(final TagType<?> elementType, final int size);
 
    StreamTagVisitor.EntryResult visitEntry(final TagType<?> type);
 
    StreamTagVisitor.EntryResult visitEntry(final TagType<?> type, final String id);
 
    StreamTagVisitor.EntryResult visitElement(final TagType<?> type, final int index);
 
    StreamTagVisitor.ValueResult visitContainerEnd();
 
    StreamTagVisitor.ValueResult visitRootEntry(final TagType<?> type);
 
    public static enum EntryResult {
        ENTER,
        SKIP,
        BREAK,
        HALT;
    }
 
    public static enum ValueResult {
        CONTINUE,
        BREAK,
        HALT;
    }
}

引用的其他类