MCPcopy Index your code

hub / github.com/Badel2/slime_seed_finder / functions

Functions765 in github.com/Badel2/slime_seed_finder

↓ 121 callersMethodnext_int_n
(&mut self, n: i32)
src/mc_rng.rs:96
↓ 74 callersMethodget_map_from_pmap
(&self, pmap: &Map)
src/biome_layers.rs:287
↓ 62 callersMethodget_map
(&self, area: Area)
src/biome_layers.rs:277
↓ 60 callersMethodparse
Parse mossy floor from human readable string ```ignore MMMCCAC?? MMCMCCM?? ``` M = Mossy cobblestone C = Normal cobblestone A = Air with no block un
src/population.rs:232
↓ 46 callersMethodlog
(&self, record: &Record)
slime_seed_finder_web/src/stdweb_logger.rs:82
↓ 46 callersMethodset_chunk_seed
(&mut self, chunk_x: i64, chunk_z: i64)
src/mc_rng.rs:57
↓ 36 callersFunctiondistance_points
(ax, ay, bx, by)
static/voronoi.js:742
↓ 35 callersMethodget_seed
(&self)
src/java_rng.rs:57
↓ 32 callersMethodarea
(&self)
src/biome_layers.rs:190
↓ 32 callersMethodnext
(&mut self, bits: u8)
src/java_rng.rs:65
↓ 25 callersFunctionspawner_coordinates_to_chunk
Convert the block coordinates of a dungeon spawner to the coordinates of the chunk that generated that dungeon. chunk_x * 16 + random.nextInt(16) + 8
src/population.rs:663
↓ 23 callersMethodget
Get value at real coordinate (x, z)
src/biome_layers.rs:195
↓ 23 callersFunctionis_oceanic
(id: i32)
src/biome_layers.rs:360
↓ 22 callersMethodto_string
(&self)
slime_seed_finder_web/src/wasm_gui.rs:947
↓ 21 callersMethodchoose4
(&mut self, a: T, b: T, c: T, d: T)
src/mc_rng.rs:110
↓ 20 callersFunctiongenerate_up_to_layer
(version: MinecraftVersion, area: Area, seed: i64, num_layers: u32)
src/biome_layers.rs:5201
↓ 20 callersMethodprevious
The inverse of next()
src/java_rng.rs:171
↓ 20 callersMethodset_seed
(&mut self, s: u64)
src/java_rng.rs:49
↓ 19 callersMethodnum_layers
Total number of biome layers
src/seed_info.rs:42
↓ 14 callersFunctioncheck_rng_dungeon
Helper: given a rng with dungeon seed, check if it actually generates the expected dungeon This is supposed to be the same algorithm as the one used i
src/population.rs:1270
↓ 14 callersFunctionmask
Return a mask which will keep the lower n bits ``` use slime_seed_finder::java_rng::mask; let fifteen = 0b1111; assert_eq!(fifteen & mask(0), 0b0000)
src/java_rng.rs:25
↓ 13 callersFunctionspawner_coordinates_to_next_int
Convert the block coordinates of a dungeon spawner to the number returned by the corresponding call to nextInt. chunk_x * 16 + random.nextInt(16) + 8
src/population.rs:675
↓ 13 callersFunctionstringify
(obj, options)
static/json-stringify-pretty-compact.js:26
↓ 12 callersMethodnext_double
(&mut self)
src/java_rng.rs:163
↓ 12 callersMethodnext_long
(&mut self)
src/java_rng.rs:151
↓ 12 callersMethodpush_str
(&mut self, idx: &str)
slime_seed_finder_web/src/wasm_gui.rs:935
↓ 11 callersFunctiondraw_map_image
(map: &Map)
src/biome_layers.rs:4970
↓ 11 callersMethodnext_n_calls
(s * A) + C ((s * A) + C) * A + C s*A*A + C*A + C s*A*A*A + C*A*A + C*A + C Equivalent to n calls to next
src/java_rng.rs:85
↓ 11 callersFunctionrng_for_dungeon_coord_next_ints
Wrapper function because the API changed and I don't want to rewrite the tests
src/population.rs:1552
↓ 11 callersMethodset
Set value at real coordinate (x, z)
src/biome_layers.rs:199
↓ 11 callersMethodunwrap_or
(self, unknown_biome_id: i32)
src/biome_layers.rs:219
↓ 10 callersFunctioncalculate_slime_data
This is the slime chunk algorithm See discussion about optimizations in the test section: constant_z()
src/slime.rs:146
↓ 10 callersMethodnext_int
(&mut self)
src/java_rng.rs:108
↓ 10 callersFunctionreduce_id
Helper function to classify an input into [0, 1, 2, 3] Used by MapRiver
src/biome_layers.rs:2705
↓ 10 callersFunctionreverse_map_zoom
Actually, this works 100% of the time
src/biome_layers.rs:4152
↓ 10 callersFunctionworld_seed_to_chunk_population_seed
Given a world seed, calculate the chunk population seed for the given chunk coordinates. Works for versions <= Minecraft Java 1.12. For 1.13 and above
src/population.rs:765
↓ 9 callersFunctionmask_up_to_bit
(i: u8)
src/mc_rng.rs:19
↓ 8 callersFunctiondistance_point_hline
(px, py, liney)
static/voronoi.js:738
↓ 8 callersFunctiondistance_point_vline
(px, py, linex)
static/voronoi.js:734
↓ 8 callersFunctionindexed_lerp
(idx: i32, d1: f64, d2: f64, d3: f64)
src/noise_generator.rs:98
↓ 8 callersMethodinto
(self)
src/seed_info.rs:406
↓ 8 callersFunctionmap_with_river_at
(c: &[Point], area: Area)
src/biome_layers.rs:4753
↓ 8 callersFunctionpreserve_area
Helper function to check that a layer generates the correct area
src/biome_layers.rs:6562
↓ 8 callersFunctionreverse_map_voronoi_zoom
Works 99.9 % of the time p = 0.9992 for each tile The probability of having at least one error in a 30x30 area is 50%
src/biome_layers.rs:4214
↓ 8 callersFunctionriver_seed_finder_26_range
(river_coords_quarter_scale: &[Point4], range_lo: u32, range_hi: u32)
src/biome_layers.rs:4338
↓ 7 callersFunctionc_err
Error handling: instead of Result<(), Error> we use *mut c_char, which is null when the result is Ok, and it is a c string of the error message when t
slime_seed_finder_c/src/lib.rs:17
↓ 7 callersFunctioncreate_from_long
()
src/java_rng.rs:441
↓ 7 callersFunctionget
(options, name, defaultValue)
static/json-stringify-pretty-compact.js:120
↓ 7 callersFunctionget_category
(v: MinecraftVersion, id: i32)
src/biome_layers.rs:307
↓ 7 callersFunctionlerp
Linear interpolation between from and to. When part=0, return from and when part=1, return to.
src/noise_generator.rs:94
↓ 7 callersMethodpush_str
(&mut self, idx: &str)
slime_seed_finder_webnode/src/wasm_gui.rs:947
↓ 7 callersFunctionrender
()
static/voronoi.js:269
↓ 7 callersFunctionsimilar_biome_seed
(seed: String)
slime_seed_finder_web/src/wasm_gui.rs:522
↓ 7 callersMethodworld_seed
(&self)
src/mc_rng.rs:67
↓ 6 callersFunctionbiome_exists
(id: i32)
src/biome_layers.rs:334
↓ 6 callersMethodchoose2
(&mut self, a: T, b: T)
src/mc_rng.rs:103
↓ 6 callersMethodcontains
Returns true if (x, z) in inside this area
src/biome_layers.rs:89
↓ 6 callersFunctiondraw_treasure_map_image
(map: &Map)
src/biome_layers.rs:5104
↓ 6 callersFunctionequal_or_plateau
(version: MinecraftVersion, id1: i32, id2: i32)
src/biome_layers.rs:2137
↓ 6 callersFunctiongenerate_image_up_to_layer
(version: MinecraftVersion, area: Area, seed: i64, layer: u32)
src/biome_layers.rs:5190
↓ 6 callersFunctionpopulate_alpha_1_2_6_check_dungeon
This is the same as populate_alpha_1_0_4 but with lakes before dungeons None: maybe true: probably yes false: probably no dungeon: spawner coordinates
src/population.rs:606
↓ 6 callersMethodprevious_n_calls
3 calls: * (s*(D*D) - (C*D*(D+1)) - C) * D * s*(D*D*D) - (C*D*(D+1))*D - C*D * s*(D*D*D) - (C*D*D*D + C*D*D + C*D) * s*(D*D*D) - (
src/java_rng.rs:211
↓ 6 callersFunctionslice_to_area
(mut m: Map, a: Area)
src/biome_layers.rs:4274
↓ 6 callersMethodto_string
(&self)
slime_seed_finder_webnode/src/wasm_gui.rs:959
↓ 6 callersFunctionwrite_seeds_to_file
Create a new file and write all the found seeds to it If the file already exists, it gets overwritten
src/main.rs:1127
↓ 5 callersFunctiona
(t, i, r, a, h, e)
static/delaunator.min.js:249
↓ 5 callersFunctionall_equal
(m: &Map)
src/biome_layers.rs:4845
↓ 5 callersFunctionarray_filled_with
(length, what)
static/fragment_map.js:26
↓ 5 callersFunctionarray_filled_with
(length, what)
slime_seed_finder_webui/src/renderer/fragment_map.js:26
↓ 5 callersFunctionbiome_to_color
(id: i32)
src/biome_layers.rs:392
↓ 5 callersFunctionchunk_population_seed_to_world_seed
Given 3 different (population_seed, chunk_x, chunk_z), find world_seed: ```ignore population_seed1 = (x1 * M + z1 * N) ^ world_seed population_seed2
src/population.rs:834
↓ 5 callersMethodchunk_seed
(&self)
src/mc_rng.rs:70
↓ 5 callersFunctiondeserialize
(deserializer: D)
src/seed_info.rs:513
↓ 5 callersFunctiondrawMapToCanvas
(canvas, map, mapArea)
static/treasure.js:472
↓ 5 callersFunctione
(t, i, r)
static/delaunator.min.js:264
↓ 5 callersMethodfilter
Returns the maximum `LevelFilter` that this logger instance is configured to output.
slime_seed_finder_web/src/stdweb_logger.rs:61
↓ 5 callersFunctiongenerate
(version: MinecraftVersion, a: Area, world_seed: i64)
src/biome_layers.rs:5196
↓ 5 callersFunctiongenerate_up_to_layer_1_15
(a: Area, world_seed: i64, layer: u32, version: MinecraftVersion)
src/biome_layers.rs:6021
↓ 5 callersFunctionread_seed_from_level_dat_zip
(input_zip: &Path, minecraft_version: Option<MinecraftVersion>)
src/anvil.rs:520
↓ 5 callersFunctionrender
()
static/map_smooth.js:188
↓ 5 callersFunctionriver_seed_finder_range
River Seed Finder range_lo: 0 range_hi: 1 << 24 Even though this is a 26-bit bruteforce, we check 4 seeds at a time
src/biome_layers.rs:4468
↓ 5 callersFunctionrng_with_slime_data
(seed: u64, x: u64)
src/slime.rs:167
↓ 5 callersMethodset_base_seed
(&mut self, base_seed: i64)
src/mc_rng.rs:42
↓ 5 callersFunctionset_pixels_at_margin
Set the border pixels to a particular value This is used to add 1-pixel padding to treasure maps, since ingame maps always have 128x128 resolution, bu
src/biome_layers.rs:3843
↓ 5 callersFunctiontreasure_map_river_seed_finder
Treasure Map River Seed Finder range_lo: 0 range_hi: 1 << 24 Even though this is a 26-bit bruteforce, we check 4 seeds at a time
src/biome_layers.rs:4639
↓ 5 callersFunctionupdate_selection
()
static/treasure.js:329
↓ 4 callersMethodadd_chunk
Deserialize this chunk and add it to this dimension
src/fastanvil_ext.rs:68
↓ 4 callersFunctioncalculate_treasure_data
(c: &Chunk)
src/structures.rs:21
↓ 4 callersFunctioncheckBounds
* Determine position relative to bounds * @param {Boolean} restrict Whether to restrict target to bounds
static/impetus.js:400
↓ 4 callersFunctioncheckBounds
* Determine position relative to bounds * @param {Boolean} restrict Whether to restrict target to bounds
slime_seed_finder_webui/src/renderer/impetus.js:400
↓ 4 callersFunctioncleanUpRuntimeEvents
* Removes all events set by this instance during runtime
static/impetus.js:194
↓ 4 callersFunctioncleanUpRuntimeEvents
* Removes all events set by this instance during runtime
slime_seed_finder_webui/src/renderer/impetus.js:194
↓ 4 callersFunctionconstrain
(x, a, b)
static/voronoi.js:41
↓ 4 callersFunctionconvertIntToHex2
(x)
static/treasure.js:495
↓ 4 callersFunctioncount_rivers
(m: &Map)
src/biome_layers.rs:4720
↓ 4 callersFunctioncount_rivers_and
The first map should have more rivers than the second one
src/biome_layers.rs:4725
↓ 4 callersFunctiondrawTreasureMap
()
static/treasure.js:515
↓ 4 callersFunctiongenerate_image_treasure_map
Generate terrain with the same style as unexplored treasure maps.
src/biome_layers.rs:5122
↓ 4 callersFunctiongenerate_up_to_layer_1_7_extra
(a: Area, world_seed: i64, layer: u32)
src/biome_layers.rs:5378
↓ 4 callersFunctiongetPassiveSupported
()
static/impetus.js:545
next →1–100 of 765, ranked by callers