Skip to content

Commit 5be4bbe

Browse files
committed
word this better
1 parent f32db11 commit 5be4bbe

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ Some datafixer code is from the Quilt Standard Libraries, which is licensed unde
4040

4141
Most of the code for spy conductors is from Security Craft, which is licensed under the MIT license. See [Security Craft's license](https://github.com/Geforce132/SecurityCraft/blob/1.18.2/LICENSE) for more information.
4242

43-
Most of the code for annotation based conditional mixins is from Neruina, which is licensed under the MIT license. See [Neruina's license](https://github.com/Bawnorton/Neruina/blob/multi-version/LICENSE.txt) for more information.
43+
Most of the code for annotation based conditional mixins is from Neruina, which is licensed under the MIT license. See [Neruina's license](https://github.com/Bawnorton/Neruina/blob/multi-version/LICENSE.txt) for more information.
44+
45+
Most of the code for the sloped/custom hitbox outlines is from FramedBlocks, which is licensed under the LGPL license. See [FramedBlock's license](https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/LICENSE) for more information.

common/src/main/java/com/railwayteam/railways/mixin/client/MixinLevelRenderer.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
import org.spongepowered.asm.mixin.Mixin;
1717
import org.spongepowered.asm.mixin.injection.At;
1818

19-
// Implementation inspired from https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/src/main/java/xfacthd/framedblocks/client/render/special/BlockOutlineRenderer.java which is licensed under LGPL
19+
/**
20+
* Implemented was inspired/derived from <a href="https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/src/main/java/xfacthd/framedblocks/client/render/special/BlockOutlineRenderer.java">Framed Blocks</a>
21+
* <p>
22+
* Which is licensed under <a href="https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/LICENSE">LGPL</a>
23+
*/
2024
@Mixin(LevelRenderer.class)
2125
public class MixinLevelRenderer {
2226
@WrapWithCondition(method = "renderLevel", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/LevelRenderer;renderHitOutline(Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/entity/Entity;DDDLnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V"))

common/src/main/java/com/railwayteam/railways/mixin_interfaces/IHasCustomOutline.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
import net.minecraft.util.Mth;
66
import net.minecraft.world.level.block.state.BlockState;
77

8-
// Implementation inspired from https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/src/main/java/xfacthd/framedblocks/api/render/OutlineRenderer.java which is licensed under LGPL
8+
/**
9+
* Implemented was inspired/derived from <a href="https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/src/main/java/xfacthd/framedblocks/api/render/OutlineRenderer.java">Framed Blocks</a>
10+
* <p>
11+
* Which is licensed under <a href="https://github.com/XFactHD/FramedBlocks/blob/17c8274ca380c3a868763b1b05657d07860c364b/LICENSE">LGPL</a>
12+
*/
913
public interface IHasCustomOutline {
1014
void customOutline(PoseStack poseStack, VertexConsumer consumer, BlockState state);
1115

0 commit comments

Comments
 (0)