From 155f209db524c1e93f00f3f802e0f42cd168e48a Mon Sep 17 00:00:00 2001 From: VortexSo4 Date: Thu, 30 Apr 2026 21:03:18 +0300 Subject: [PATCH] remove ctm guide as it is worse than wiki (#1706) --- CTM.MD | 302 ------------------------------------- img/CTM/CCTM-pattern.png | Bin 216 -> 0 bytes img/CTM/CCTM-principle.png | Bin 1283 -> 0 bytes img/CTM/CTM-pattern.png | Bin 2167 -> 0 bytes img/CTM/HCTM-pattern.png | Bin 187 -> 0 bytes img/CTM/HVCTM-pattern.png | Bin 310 -> 0 bytes img/CTM/VCTM-pattern.png | Bin 192 -> 0 bytes img/CTM/VHCTM-pattern.png | Bin 316 -> 0 bytes 8 files changed, 302 deletions(-) delete mode 100644 CTM.MD delete mode 100644 img/CTM/CCTM-pattern.png delete mode 100644 img/CTM/CCTM-principle.png delete mode 100644 img/CTM/CTM-pattern.png delete mode 100644 img/CTM/HCTM-pattern.png delete mode 100644 img/CTM/HVCTM-pattern.png delete mode 100644 img/CTM/VCTM-pattern.png delete mode 100644 img/CTM/VHCTM-pattern.png diff --git a/CTM.MD b/CTM.MD deleted file mode 100644 index 4adb55ddd..000000000 --- a/CTM.MD +++ /dev/null @@ -1,302 +0,0 @@ -# CTM Guide -###### by Vortex [@vortex_so in discord, any suggestions are accepted]
- -This file describes how to use CTM, structure of `.properties` file and some useful (or not) techniques - -### Note: -- All textures for CTM textures are in `[modname]/mcpatcher/ctm` folder
-the overrides apply globally so it doesn't matter in which directory you put them
- -- in the `ctm` folder you must have a folder with your block name (or any name actually)
-in that folder you will have all texture files (animations allowed via mcmeta file for every texture) and `.properties` file
-multiple `.properties` files are allowed for a single folder and set of textures for more complex behaviour (see examples) - -## Quick Links -- **[Method](#method)** -- **[MatchBlocks](#matchblocks)** -- **[MatchTiles](#matchtiles)** -- **[Tiles](#tiles)** -- **[Connect](#connect)** -- **[Faces](#faces)** -- **[Biomes](#biomes)** -- **[Heights](#heights)** -- **[RenderPass](#renderpass)** -- **[InnerSeams](#innerseams)** -- **[Weights](#weights)**
-- **[Examples](#examples)** - -## Structure of `.properties` files - ---- - -## `matchBlocks` -Override for a specific block, you can get the value from the tooltip if you have this feature enabled.
-Can accept several values which allows to apply one CTM for different blocks.
-if no value for this property was provided, Angelica will fallback to name of the `.property` file - -examples:
-`matchBlocks=gregtech:gt.blockcasings4`
-`matchBlocks=minecraft:glass minecraft:glass_pane` - ---- - -## `matchTiles` -Override for a specific texture, main difference from matchBlocks is that this will only match a certain texture, not the block itself
- -example:
-`matchTiles:minecraft:blocks/stone` - ---- - -## `tiles` -The list of texture names for CTM. Supports ranges and explicit names.
-You probably would want to use texture names like `0.png`, `1.png` as it is easier, however this allows for any names - -examples:
-`tiles=0-46` - classic for full CTM, expects files from `0.png` to `46.png`
-`tiles=0-3,5, 8` - expects files `0.png`, `1.png`, `2.png`, `3.png`, `5.png`, `8.png`
-`tiles=sometext,somemoretext` - expects files `sometext.png`, `somemoretext.png` - ---- - -## `connect` -Sets how the blocks are connected, can accept values: `block`, `tile`, `material`
-`block` connects based on block (who would guess)
-`tile` connects based on texture
-`material` connects based on material (didn't really understand this part, ig it is for stone, iron, wood etc)
-Fallbacks to `block` if no value for `matchTiles` is set, otherwise fallbacks to `tile`
-Most of the time you don't need to set this value because of that fallback rule - -example:
-`connect=block` - ---- - -## `faces` -Limit to specific faces of a block, can accept several values
-Fallbacks to `all` if value not present in the `.properties` file - -examples:
-`faces=top`
-`faces=all`
-`faces=bottom`
-`faces=sides`
-`faces=north south east west`
-`faces=top bottom sides` - ---- - -## `biomes` -Limit to specific biomes, can accept several values
-Fallbacks to all if value not present in the `.properties` file - -examples:
-`biomes=plains`
-`biomes=desert forest`
-`biomes=taiga jungle savanna` - ---- - -## `heights` -Limit to certain Y levels, can only accept several values
-can be set through either `minHeight` and `maxHeight` or `heights` - -examples:
-`heights=0-64`
-`heights=64-255`
-example of maxHeight and minHeight:
-`minHeight=64`
-`maxHeight=128` - ---- - -## `renderPass` -Controls which rendering layer a CTM rule is applied in
-In most cases you only need it to avoid rendering issues with transparency - -`renderPass=solid` used for fully opaque blocks
-`renderPass=cutout` used for fences, glass CTM, textured blocks with hard transparency
-`renderPass=translucent` used for transparent blocks like glass or water
-`renderPass=cutout_mipped` no idea for what
-`renderPass=overlay` used for blocks with an overlay, for example GT hatches or damaged anvils
-`renderPass=backface` used for blocks with a backface, however it is very rare to use this one - ---- - -## `innerSeams` -Adds internal seams, fallback to `innerSeams=false` if not set
- -example:
-`innerSeams=true` - ---- - -## `weights` -Priority, used for `Random` type to determine which textures have certain chances to be used for render
-accepts several values, assigns values correspondingly to `tiles` list values - -examples:
-`weight=10`
-`weights=1 3 3 2 1` - ---- - -# `Method` - -Selects CTM mode: -- [LINK](#full-ctm-ctm) `ctm` / `glass` / `default` -- [LINK](#compact-ctm) `compact` / `ctm_compact` -- [LINK](#horizontal)`horizontal` / `bookshelf` -- [LINK](#vertical)`vertical` -- [LINK](#horizontalvertical-hv)`horizontal+vertical` / `h+v` -- [LINK](#verticalhorizontal-vh)`vertical+horizontal` / `v+h` -- [LINK](#top)`top` / `sandstone` -- [LINK](#repeat)`repeat` / `pattern` -- [LINK](#random)`random` -- [LINK](#fixed)`fixed` / `static` - -example:
-`method=ctm` - -### Full CTM (ctm) - -Requires exactly 47 tiles, the most versatile but the most size-heavy method - -Here's a visual explanation of how the textures should be numbered: - - - ---- - -### Compact CTM - -Requires exactly 5 tiles. - - - -Splits face into 4 quadrants and builds final texture per quadrant. - -Here's a visual explanation of how it works on an example of 3x3 blocks pattern with a cutout: - - - -as you can see, compact CTM has a single limitation:
-the size of any part of texture, such as an edge or a corner, can't be larger than `8x8` pixel
-this is the main case where only full CTM can be used. - ---- - -### Horizontal - -Requires exactly 4 tiles. connects only horizontally, used for bookshelves for example - - - - ---- - -### Vertical - -Requires exactly 4 tiles. - - - ---- - -### Horizontal+Vertical (h+v) - -Requires exactly 7 tiles. - -Two-stage: horizontal first, then vertical if none horizontal variations are found. - - - ---- - -### Vertical+Horizontal (v+h) - -Requires exactly 7 tiles. - -Two-stage: vertical first, then horizontal if none vertical variations are found. - - - ---- - -### Top - -Requires exactly 1 tile. - -Applies tile on side faces when block above matches, for example used for smooth sandstone - ---- - -### Repeat - -Requires width * height tiles. - -Properties: -- `width` - defines the number of tiles in width -- `height` - defines the number of tiles in height -- `symmetry` - defines the symmetry of the pattern, can be either `none` or `opposite` - -Just uses N*M grid, for example
-`0 1 2 3 4`
-`5 6 7 8 9` - ---- - -### Random - -Any number of tiles. - -Properties: -- `weights` - described [here](#weights) -- `symmetry` - accepts `all`, `opposite`, `none`, groups opposite faces together, otherwise keeps them independent -- `linked` - makes the textures consistent between render states, not needed much - ---- - -### Fixed - -Requires exactly 1 tile. Always uses the same tile.
-useful only if combined with height or other properties (see examples) - ---- - -# Examples - -## Glass via full CTM -```properties -matchBlocks=minecraft:glass minecraft:glass_pane -metadata=0 -method=ctm -faces=all -tiles=0-46 -connect=block -``` - -## Multiple properties files usage -### Use multiple .properties files with different heights for more detailed worldgen -this one will use one texture for lower part of the world and another for the rest of the world -```properties -matchBlocks=minecraft:dirt -metadata=0 -method=fixed -faces=all -tiles=0 -connect=block -maxHeight=40 -``` - -```properties -matchBlocks=minecraft:dirt -metadata=0 -method=fixed -faces=all -tiles=0 -connect=block -minHeight=41 -``` - ---- diff --git a/img/CTM/CCTM-pattern.png b/img/CTM/CCTM-pattern.png deleted file mode 100644 index 00eb5f2722f02098737f305b84bcd83ee4697ce0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 216 zcmV;}04M*6P)lU2J(>hMTXwdzRTjS&d^X~06B7Vc?(m^EMt_lyhB)O?iq z9Y9Ftb~3p<8D?oe+<8=!`b9Ry4zt(FqPj}_ivKRB-Oj3`q!8{>eAS=P&jtwh+oqu6 z&-R=ywu0JO$QM2HcgMKWsmi&%+C5^^S@nE;n?Kw4S5Hre&wUs&R4%aWr)UMW09XiW SIh-v30000 z?QtU^42JQ|Rpc7dM*46G+lSjo4Qa{u=hnv&J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s{(gmQQXBjfih`eaIz?_qAuXj2c52k)DUQq6h0002G_yc(~!Bn-UqDue(002ovPDHLkV1g~2g0TPq diff --git a/img/CTM/CTM-pattern.png b/img/CTM/CTM-pattern.png deleted file mode 100644 index dc08910cc6cdccb47729d6ed972e59a61902f1f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2167 zcmV--2#EKIP) zVUpu241~$6J3?=kp0qxY+~9 zOyn7Drpyd%d0UKh-rIFJ7LSPG89AAQ$#8{8e+FuYVa~`m9xI zYWnr@VvpY_u`J@On^G)`l*F<~u#{JXyBo73G85shpqmmN;Vk7%k=l9(86t8+&mMYM zU1olZ>N1^((ar0bUc4gQ?6Wl`pZSPq6ksOKXX~cqH{UzjIOcG{{rMPD%ggXyTE&`9 z$^UDY{3E(v<(;8h>$G$w9W8Y?qRXZ+M|q2I(kiqz9Mt1{Yw>k--AmJ!bX%Pm(QN55 z<<)ehHkPQ%*P2&Joeb4w7R_g1?r?P>TMN3(0hB7QX)_&eGCq;ih}C)%FC3^D@R&KxRm@dDm7w+L(Y~uoq|L-q_IbJ zdqbb~gg|wB5u-Q9stM3-^-d#0YGbR464zIgrQsh#3wr#WAmNWgm%!$X~5wX0k@-s1q3zqU0 z;iR;Owi~K-30|KeOgiQ6x|04G<(+ZdJb3GHql>p%fzkY>q}y7<({x)|31qEmM7MR& zYTZ_QkG6vbbKE>oBV6mXl-lW^))`p8);a@w%qlOcf#|m8K(%gffw=X&r!(WYdGK-3 zz@$C2;Y6bDSgjlVn2K9pT@Su`9gfk>+Occv)y9$93hqyIxC8cL#bYSCo34e|9L{66lGpISXfwL#L1A}S zdFV3Q>{Q5;TSmCE8;+UldFrC=P`vL!{JC(;4j0^)k2`+L%lZ0wNxoCGzH?Mt`|;AP zA6vTRWBvauUADaC<4j#-sp<^G4%d4vC2seRrYj-ocnmY_+7+tnxeMwlU+6f(+rqC@ zKPzxkCD(Ut-kf^C?wY0TV7_w!u6+O=cif|I6XB(=^Mox_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733c2d92dcea70e8468a2e818c36a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^`asOh!3HGXOI_&!Qca#Njv*eMSEoAiH7M|~h#xlp z=|2BL{f7YCmyTYSk4n6r$1zjLDsutD4MG2tN5UCitWw<3*%CP|U+KD4&}Ekmt@)D- zzV16HWs!Z)#OAT@=QkM!FIQdpDQ7<;{c`9^wi{`-|2{qqKQxQ|joO)wk%lL)xm5Pc no-q#F_pJVJ$g*FCk^dO>=DWyF4}Lfo=o$u3S3j3^P6G*YqA7fqQsR_lwPD5p7Yn9m4z3n6cIoae@KB4mrV-egS|jrAy%&<7Z!@ z&*w_9q#=^&gvJ=Zz-uB^-)o2Gt%0%`lrtKU`t7LjWcc0e7?)x zH=&{Cd@*d+7}brpIH^77NMChcilv@_X81OjD9+~y# zqTnWXcHQMg8NZA}86JL~oU9tg;&5n58AHb^=MNl=x7WOW8e^3*Rk*h}B=^`WtLdML z%?k2+ue@S8!m1f~ZvXqX#_Y$l4L4QiHpQE3%$UUBq4zwlJv!XP;4jw-iOU6jA9Kv- q{6F^lZp3eC(-&bp`|awNNUO)4w6FW9rnwI2BnD4cKbLh*2~7avpGxQe diff --git a/img/CTM/VHCTM-pattern.png b/img/CTM/VHCTM-pattern.png deleted file mode 100644 index 0ae2a48bc2c9950c350f35a8c2be65acfb9e3e7c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 316 zcmV-C0mJ@@P)-dLh^rN7*~7VC`YE%`3#Pnq9y zHf`qDdYLKFW%Cw#-q~vAt!U?ZZ5=4Yh6z_EW`mxWmd&`KsoQvg`hmUOZANnYgdNG> zPuQNE%me=8A`~Ckm=eVu=+ezuHcw3ea2V==t8POboB7N$yyJm_c^2b9rI@iW zSLP))4DngrW)#%ssaf4-6x8PD`rQWbZ(5*^&3xt=dJV9;%{Zw48F>Psf^-GOOt*Ic O0000