ValueInputContextHelper .java
net.minecraft.world.level.storage.ValueInputContextHelper (class): members: emptyChildList, emptyTypedList, emptyList, ops, lookup, empty. imports: Tag.
File
API Surface (32)
boolean isEmpty()Stream<ValueInput> stream()Iterator<ValueInput> iterator()boolean isEmpty()Stream<Object> stream()Iterator<Object> iterator()<T> Optional<T> read(final String name, final Codec<T> codec)<T> Optional<T> read(final MapCodec<T> codec)Optional<ValueInput> child(final String name)ValueInput childOrEmpty(final String name)Optional<ValueInput.ValueInputList> childrenList(final String name)ValueInput.ValueInputList childrenListOrEmpty(final String name)<T> Optional<ValueInput.TypedInputList<T>> list(final String name, final Codec<T> codec)<T> ValueInput.TypedInputList<T> listOrEmpty(final String name, final Codec<T> codec)boolean getBooleanOr(final String name, final boolean defaultValue)byte getByteOr(final String name, final byte defaultValue)int getShortOr(final String name, final short defaultValue)Optional<Integer> getInt(final String name)int getIntOr(final String name, final int defaultValue)long getLongOr(final String name, final long defaultValue)Optional<Long> getLong(final String name)float getFloatOr(final String name, final float defaultValue)double getDoubleOr(final String name, final double defaultValue)Optional<String> getString(final String name)String getStringOr(final String name, final String defaultValue)HolderLookup.Provider lookup()Optional<int[]> getIntArray(final String name)DynamicOps<Tag> ops()HolderLookup.Provider lookup()ValueInput empty()ValueInput.ValueInputList emptyList()<T> ValueInput.TypedInputList<T> emptyTypedList()Fields & Constants (5)
lookupopsemptyChildListemptyTypedListemptySame Package (22)
Code Graph: Dependencies (3)
Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | |
| 177 | |
| 178 | |
| 179 | |
| 180 | |
Decompiled Minecraft 26.3 source of ValueInputContextHelper (net/minecraft/world/level/storage/ValueInputContextHelper.java) with Mojang official mappings, stored verbatim on the site.