Skip to content

Commit

Permalink
1.20.1-1.12.2 rendering changes; randomizer dont select air
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothrazar committed Jul 24, 2023
1 parent a1c6703 commit 3c01713
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ org.gradle.daemon=false

mod_id=cyclic
curse_id=239286
mod_version=1.12.2-SNAPSHOT
mod_version=1.12.2

mc_version=1.20.1
forge_version=47.1.3
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/lothrazar/cyclic/event/EventRender.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,11 @@ public void onRenderWorldLast(RenderLevelStageEvent event) {
}
List<BlockPos> coords = RandomizerItem.getPlaces(lookingAt.getBlockPos(), lookingAt.getDirection());
for (BlockPos e : coords) {
if (!RandomizerItem.canMove(world.getBlockState(e), world, e)) {
BlockState stHere = world.getBlockState(e);
if (!RandomizerItem.canMove(stHere, world, e) && !stHere.isAir()) {
renderCubes.put(e, Color.RED);
}
else {
else if (!stHere.isAir()) {
RenderBlockUtils.createBox(event.getPoseStack(), e);
}
}
Expand Down
4 changes: 2 additions & 2 deletions update.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"1.19.2-latest":"1.8.2",
"1.19.3-latest":"1.9.0",
"1.19.4-latest":"1.10.2",
"1.20.1-latest":"1.12.1"
"1.20.1-latest":"1.12.2"

},
"1.16.5": {
Expand Down Expand Up @@ -157,7 +157,7 @@
"1.12.0":"First official port to MC-1.20.1. This mod now has a required dependency on flib(future-library 0.0.7 or greater). Fixed worldgen flower features spawning with forge biome modifiers. Fixed patchouli book. added tools to minecraft tags (for example emerald_pickaxe in item tag minecraft:pickaxes). Fix harvester crash with beetroot. (Merge pull request #2286 from UraraChiya/trunk/1.20) : Update Simplified Chinese transaction. "
,"1.12.1":"Fix transparency of several blocks (Terra Glass and both Clouds). Fix blockrendering/transparency along edges of cyclic:lamp (waxed lamp). Fix rendering of cyclic:laser_cannon beams #2295 and block highlights for Building Scepters and Location GPS. Fix 'Apple of lofty stature' not syncing when you rejoin the world, meaning the Step Height Disabled wasnt turning it off #2296 #2258. Exp boost no longer gives XP if the original harvest had a zero drop (stone/dirt etc) fix #2283. Fix render_type of Melter and Solidifier. Melter and Solidifier now drain the 'rf per tick' from recipe constrantly, instead of one batch drain at the end (and fix bug #2284) "

,"1.20.2":"For ease of use and better visuals, and to better match modern rendering pipelines, the Shape Data card, Building Scepters and the Block Randomizer now uses a block-outline wireframe method to hilight blocks instead of rendering every cube face (for example, the GPS data card still uses the full cube render and not wireframe). This update ports some features that had previously been exlusive to the mc 1.16.5-1.15.12 thru 1.16.5-1.15.21; all are listed below). New configs: [cyclic.enchantment.disarm] now has 'ignoredMobs' and 'percentPerLevel', [cyclic.items.tile_transporter] now has 'overrideChestSingle', read on or see cyclic.yml for more details. PR #1976 by metalshark :Item, Energy, and Fluid Cables now have Increased performance (compile time optimisations, reduction in cyclomatic complexity and removal of redundant checks). PR #1994 by 'metalshark' Fixes issue #1992. Merge pull request #2013 from metalshark : Add caching of packager recipes and move static methods out of main class for scaling. Merge pull request #2011 from metalshark : Invalidate capabilities when declaring them. #1933 Sack of Holding chest placement override added, with new config to revert back to legacy behavior if desired (overrideChestSingle). #2168 fix bug where ender shelf sometimes would not save contents when mined after exiting reloading world when client data desyncs. Added a percentage config and ignorelist config for cyclic:disarm enchantment (disarmPercentPerLevel, disarmIngoredMobs), resolves it dropping your copied weapon from alexsmobs:mimicube #2249. Fix #1878 layered and/or logic for multiple wireless transmitters on the same node. Now all git branches can be merged from mc-1.16.5 downstream to mc-1.20.1 and future updates as well."
,"1.20.2":"For ease of use and better visuals, and to better match modern rendering pipelines, the Shape Data card, Building Scepters and the Block Randomizer now uses a block-outline wireframe method to hilight blocks instead of rendering cube-faces (for example, the GPS data card still uses the cube-faces render and not wireframe). (This update ports some features that had previously been exlusive to the mc 1.16.5-1.15.12 thru 1.16.5-1.15.21; all are listed below). New configs: [cyclic.enchantment.disarm] now has 'ignoredMobs' and 'percentPerLevel', [cyclic.items.tile_transporter] now has 'overrideChestSingle', read on or see cyclic.yml for more details. PR #1976 by metalshark :Item, Energy, and Fluid Cables now have Increased performance (compile time optimisations, reduction in cyclomatic complexity and removal of redundant checks). PR #1994 by 'metalshark' Fixes issue #1992. Merge pull request #2013 from metalshark : Add caching of packager recipes and move static methods out of main class for scaling. Merge pull request #2011 from metalshark : Invalidate capabilities when declaring them. #1933 Sack of Holding chest placement override added, with new config to revert back to legacy behavior if desired (overrideChestSingle). #2168 fix bug where ender shelf sometimes would not save contents when mined after exiting reloading world when client data desyncs. Added a percentage config and ignorelist config for cyclic:disarm enchantment (disarmPercentPerLevel, disarmIngoredMobs), resolves it dropping your copied weapon from alexsmobs:mimicube #2249. Fix #1878 layered and/or logic for multiple wireless transmitters on the same node. Now all git branches can be merged from mc-1.16.5 downstream to mc-1.20.1 and future updates as well."

}
}

0 comments on commit 3c01713

Please sign in to comment.