stevenarella/src
iceiix e9b336192a Add support for a modded block: rockwool from Thermal Expansion (#153)
The first in support for modded content, a simple custom block: "rockwool" from the Thermal Expansion and Thermal Foundation mods for Forge:

https://ftb.gamepedia.com/Rockwool_(Thermal_Expansion_3)

This makes use of the Forge handshake (#88 #134 #144), matching the mod block names from the negotiation to numeric identifiers in the world to steven_blocks. Rockwool was chosen due to ease of implementation, it looks like wool from vanilla (except is fire-proof), and by supporting it the groundwork necessary is laid for more sophisticated mod support.

Tested with Thermal Expansion on 1.7.10, 1.10.2 (FTB Beyond), and 1.12.2 Forge servers.

* Add `modid` macro token, skipped from vanilla mappings

* Add ThermalExpansionRockwool block (1.7.10)

* Register modded blocks by modid->[data], and lookup block metadata

* Save block IDs from ModIdData/RegistryData to World modded_block_ids

* Add namespaced mod ids for ModIdData, \u{1}=block \u{2}=item

* Add ThermalFoundation's Rockwool (1.12.2)
2019-05-15 12:49:57 -07:00
..
console Use field init shorthand, instead of x:x, just x, 2018-11-04 13:43:30 -08:00
ecs Use field init shorthand, instead of x:x, just x, 2018-11-04 13:43:30 -08:00
entity Add double-jump to toggle creative flight. Closes #46 2019-01-26 13:00:19 -08:00
gl Update for glutin wasm_stub branch tracking Rust 2018 changes 2019-03-03 11:50:52 -08:00
model Update to rand 0.6.5 and migrate off deprecated methods. Closes #81 2019-05-08 19:32:05 -07:00
nbt Replace read_to_string -> read_to_end to improve UTF-8 deserialization 2019-05-12 14:08:53 -07:00
protocol Add support for a modded block: rockwool from Thermal Expansion (#153) 2019-05-15 12:49:57 -07:00
render Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
screen Add Forge handshake support. Closes #88 (#134) 2019-05-05 18:39:58 -07:00
server Add support for a modded block: rockwool from Thermal Expansion (#153) 2019-05-15 12:49:57 -07:00
types 1.14 protocol support (477) (#132). Closes #72 2019-05-04 16:04:19 -07:00
ui Update to rand 0.6.5 and migrate off deprecated methods. Closes #81 2019-05-08 19:32:05 -07:00
world Add support for a modded block: rockwool from Thermal Expansion (#153) 2019-05-15 12:49:57 -07:00
auth.rs Update to use crate:: for current crate, for Rust 2018 edition 2018-11-04 12:06:00 -08:00
chunk_builder.rs Update to rand 0.6.5 and migrate off deprecated methods. Closes #81 2019-05-08 19:32:05 -07:00
format.rs Recognize translate text components, instead of showing "UNHANDLED" 2018-12-02 19:25:11 -08:00
item.rs 1.13.2 (404) multiprotocol support (#67) 2018-12-28 21:22:58 -08:00
macros.rs Base implementation for worlds/blocks 2016-03-18 22:24:30 +00:00
main.rs Enhance -p/--protocol-version to accept game version string 2019-05-13 16:35:39 -07:00
resources.rs Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
settings.rs Add double-jump to toggle creative flight. Closes #46 2019-01-26 13:00:19 -08:00