Skip to content

Commit 522f37f

Browse files
some javadoc
1 parent e42bb1c commit 522f37f

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ repositories {
128128

129129
dependencies {
130130
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
131-
131+
//TODO make sure we only depend on catnip
132132
implementation(fg.deobf("com.simibubi.create:create-${minecraft_version}:${create_version}:slim") { transitive = false })
133133
implementation(fg.deobf("net.createmod.ponder:Ponder-Forge-${minecraft_version}:${ponder_version}"))
134134
compileOnly(fg.deobf("dev.engine-room.flywheel:flywheel-forge-api-${minecraft_version}:${flywheel_version}"))
@@ -151,7 +151,7 @@ dependencies {
151151

152152
annotationProcessor "org.spongepowered:mixin:${mixin_version}:processor"
153153

154-
//worldgen tool
154+
//unit test tool
155155
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
156156
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
157157

@@ -222,7 +222,7 @@ publishing {
222222

223223
}
224224
}
225-
repositories {//real publishing -> otherwise
225+
repositories {//TODO use a more practical
226226
maven {
227227
url = uri("https://maven.pkg.github.com/RealAntEngineer/Formic_API")
228228
credentials {

src/main/java/com/rae/formicapi/multiblock/MBController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
import java.util.Objects;
1818

19+
/**
20+
* the main block for the multiblock, this the block that is used for the model, to make the model work you will need
21+
* to look at the default offset given in the MBShape for the size chosen
22+
*/
1923
public abstract class MBController extends DirectionalBlock {
2024
protected final MBShape shape;
2125
final DirectionalBlock structure;

src/main/java/com/rae/formicapi/multiblock/MBShape.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
import java.util.List;
1414
import java.util.Map;
1515

16+
/**
17+
* define how the multiblock structure is made : define the offset of the MBController and the direction
18+
* of each MBStructureBlock.
19+
*/
1620
public class MBShape {
1721
//make functions for every sizes
1822
public static MBShape make3x1x1(MBStructureBlock structure){

src/main/java/com/rae/formicapi/multiblock/MBStructureBlock.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
import java.util.Set;
3636
import java.util.function.Consumer;
3737

38+
/**
39+
* Structure Block for a MultiBlock, it always as a full hit-box
40+
*/
3841
public class MBStructureBlock extends DirectionalBlock implements IWrenchable, IProxyHoveringInformation {
3942
protected MBStructureBlock(Properties properties) {
4043
super(properties);

src/main/resources/logo.png

1.54 KB
Loading

0 commit comments

Comments
 (0)