-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e5783a
commit 38eebb1
Showing
15 changed files
with
1,740 additions
and
1,512 deletions.
There are no files selected for viewing
1,504 changes: 0 additions & 1,504 deletions
1,504
neoforge/src/main/java/io/github/realyusufismail/temporalsmith/entities/hammer/Pattern.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
neoforge/src/main/java/io/github/realyusufismail/temporalsmith/entities/mjolnir/Pattern.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.realyusufismail.temporalsmith.entities.mjolnir; | ||
|
||
import io.github.realyusufismail.temporalsmith.entities.mjolnir.cube.*; | ||
import net.minecraft.client.model.geom.PartPose; | ||
import net.minecraft.client.model.geom.builders.CubeListBuilder; | ||
import net.minecraft.client.model.geom.builders.PartDefinition; | ||
|
||
public class Pattern { | ||
|
||
protected PartDefinition creatBodyLayer(PartDefinition theSidePart) { | ||
CubeListBuilder cubeListBuilder = CubeListBuilder.create(); | ||
|
||
cubeListBuilder = new PatternCubeOne(cubeListBuilder).build(); | ||
cubeListBuilder = new PatternCubeTwo(cubeListBuilder).build(); | ||
cubeListBuilder = new PatternCubeThree(cubeListBuilder).build(); | ||
cubeListBuilder = new PatternCubeFour(cubeListBuilder).build(); | ||
cubeListBuilder = new PatternCubeFive(cubeListBuilder).build(); | ||
cubeListBuilder = new PatternCubeSix(cubeListBuilder).build(); | ||
|
||
return theSidePart.addOrReplaceChild( | ||
"Pattern", cubeListBuilder, PartPose.offset(-3.6F, 5.4F, -0.75F)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
334 changes: 334 additions & 0 deletions
334
...n/java/io/github/realyusufismail/temporalsmith/entities/mjolnir/cube/PatternCubeFive.java
Large diffs are not rendered by default.
Oops, something went wrong.
234 changes: 234 additions & 0 deletions
234
...n/java/io/github/realyusufismail/temporalsmith/entities/mjolnir/cube/PatternCubeFour.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,234 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.realyusufismail.temporalsmith.entities.mjolnir.cube; | ||
|
||
import net.minecraft.client.model.geom.builders.CubeDeformation; | ||
import net.minecraft.client.model.geom.builders.CubeListBuilder; | ||
|
||
public class PatternCubeFour { | ||
private final CubeListBuilder builder; | ||
|
||
public PatternCubeFour(CubeListBuilder builder) { | ||
this.builder = builder; | ||
} | ||
|
||
public CubeListBuilder build() { | ||
return builder | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -8.0F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -10.225F, 0.25F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -10.225F, 0.25F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -7.8F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.8F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -4.775F, 0.25F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -4.775F, 0.25F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -7.8F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.8F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -10.225F, 0.15F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -10.225F, 0.15F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -7.7F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -7.7F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -4.775F, 0.15F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -4.775F, 0.15F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -7.7F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -7.7F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -10.225F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -10.225F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -7.6F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.6F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -4.775F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -4.775F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -7.6F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.6F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -10.225F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -10.225F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -7.6F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -7.6F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -4.775F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -4.775F, 0.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -7.6F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -7.6F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -10.225F, -0.15F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -10.225F, -0.15F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -7.5F, -2.775F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -7.5F, -2.775F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -4.775F, -0.15F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -4.775F, -0.15F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -7.5F, 2.675F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -7.5F, 2.675F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -10.225F, -0.35F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -10.225F, -0.35F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -7.3F, -2.775F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -7.3F, -2.775F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -4.775F, -0.35F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -4.775F, -0.35F, 0.1F, 0.1F, 0.2F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -7.3F, 2.675F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -7.3F, 2.675F, 0.1F, 0.2F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -10.225F, -0.45F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -10.225F, -0.45F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -7.1F, -2.775F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.1F, -2.775F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -4.775F, -0.45F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -4.775F, -0.45F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -7.1F, 2.675F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.1F, 2.675F, 0.2F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -10.225F, -0.55F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -10.225F, -0.55F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -7.0F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.0F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -4.775F, -0.55F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -4.775F, -0.55F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -7.0F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -7.0F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -10.225F, -0.65F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -10.225F, -0.65F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -6.9F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -6.9F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -4.775F, -0.65F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -4.775F, -0.65F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -6.9F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -6.9F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -10.225F, -0.85F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -10.225F, -0.85F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -6.7F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -6.7F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -4.775F, -0.85F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -4.775F, -0.85F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -6.7F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -6.7F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -10.225F, -0.95F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -10.225F, -0.95F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -6.6F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -6.6F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -4.775F, -0.95F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -4.775F, -0.95F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.1F, -6.6F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.8F, -6.6F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -10.225F, -1.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -10.225F, -1.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -6.5F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -6.5F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -4.775F, -1.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -4.775F, -1.05F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.3F, -6.5F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(7.0F, -6.5F, 2.675F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -10.225F, -1.15F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(6.9F, -10.225F, -1.15F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)) | ||
.texOffs(0, 0) | ||
.addBox(-1.2F, -6.4F, -2.775F, 0.1F, 0.1F, 0.1F, new CubeDeformation(0.0F)); | ||
} | ||
} |
Oops, something went wrong.