Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in es_ar.json #5347

Open
wants to merge 49 commits into
base: 1.20
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
6fa02d7
Fix lightning dragon flight animation
quinnfrost Jul 31, 2023
a07b6a2
Update issue.yml
TheBv Oct 12, 2023
359f94e
Update publish_alpha.yml
TheBv Oct 23, 2023
a1c11fc
hippocampus riding rework
quinnfrost Nov 11, 2023
dd89a7d
mouse controlled yaw and pitch
quinnfrost Nov 13, 2023
0057a2c
use dragon's code for amphithere riding rework
quinnfrost Nov 13, 2023
b896415
correct flying behavior
quinnfrost Nov 14, 2023
3edbca6
fix wrong roll side (dirty way), fix always fly up issue
quinnfrost Nov 15, 2023
1e92047
resolve wrong rolling side issue, revert changes
quinnfrost Nov 19, 2023
0d775da
small cleanups
quinnfrost Nov 19, 2023
4edbc18
fix dragon movement speed
quinnfrost Nov 19, 2023
deef87d
Merge branch '1.18-lightningDragon' into 18-amphithereRide
quinnfrost Nov 19, 2023
5f79f6c
fix old dragon ride height
quinnfrost Nov 19, 2023
373166b
disable more server side setMotion call
quinnfrost Nov 20, 2023
5bcd05b
disable noPhysics, hippocampus don't need this
quinnfrost Dec 4, 2023
0472969
disable noPhysics
quinnfrost Dec 4, 2023
c461b7a
chore: updated github workflows
TheBv Dec 22, 2023
844d4f8
chore: updated github snapshot workflows
TheBv Dec 22, 2023
dc6b0cb
Merge pull request #5028 from quinnfrost/18-amphithereRide
TheBv Dec 22, 2023
ddb9b80
Merge pull request #5023 from quinnfrost/18-hippocampusRide
TheBv Dec 22, 2023
0a451d8
chore: updated build file
TheBv Dec 22, 2023
b64c136
fix: fixed #5043 along other issues related to forge hooks potentiall…
TheBv Dec 25, 2023
c7e9189
fix: fixed siren islands only generating down to y=0
TheBv Nov 12, 2023
f09d8b5
feat: limited siren islands maximum width
TheBv Dec 25, 2023
90ba3bc
chore: version bump
TheBv Dec 25, 2023
172d402
general fixes
SiverDX Nov 30, 2023
aaa8e4f
fix recipe change from 5a383e0
SiverDX Nov 30, 2023
4e54236
fix #3633
SiverDX Nov 30, 2023
8ab5f95
fix #5032
SiverDX Nov 30, 2023
8f3c111
addition to 0980ba5
SiverDX Nov 30, 2023
f4e8e16
general fixes
SiverDX Nov 30, 2023
aac4453
adjustements to fixes
SiverDX Dec 1, 2023
29bad7e
make attacker immune to sword lightning bolt
SiverDX Dec 1, 2023
e36a97f
missing repair ing.
SiverDX Dec 13, 2023
a2335ae
fix: fixed dragons health and other stats not being capped
TheBv Nov 1, 2023
c3289c0
fix: pathing and target problems with death worms
SiverDX Dec 12, 2023
2b8aac0
fix: fixed pathfinding issues related to threading. Fixes #4895 #5044
TheBv Dec 26, 2023
4f360c7
fix worldgen with terralith (and maybe others)
SiverDX Dec 11, 2023
18e13ab
better worldgen fix
SiverDX Dec 11, 2023
8afdefa
feat: clean up cyclops cave gen / dragon cave gen
SiverDX Dec 13, 2023
57ce6f8
chore: added github workflow task to automatically label issues
TheBv Dec 27, 2023
5bbd87f
chore: hopefully fixed github label actions
TheBv Dec 28, 2023
5992f84
fix: fixed inconsistencies with 1.19 version in regards to datagen
TheBv Dec 29, 2023
4768ff6
fix: fixed the second layer of skin overlapping with ice and fires ar…
TheBv Jan 3, 2024
88648a2
fix: fixed bestiary not rendering buttons when resizing the window
TheBv Jan 3, 2024
6d52159
fix: fixed deepslate silver ore not being mineable #5072
TheBv Jan 14, 2024
7e800ac
Revert "fix: fixed deepslate silver ore not being mineable #5072"
TheBv Jan 14, 2024
af9d6e3
feat: updated spanish translations
Orekuram Mar 10, 2024
17022ea
Fix typo in es_ar.json
JeremiasArian Aug 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ body:
- "1.17"
- "1.18"
- "1.19"
- "1.20"
- "1.20.1"
- "1.20.2"
- "1.20.3"
- "1.21.1"
validations:
required: true
- type: input
Expand Down Expand Up @@ -58,4 +61,4 @@ body:
- label: I am using other mods besides Ice and Fire
required: false
- label: I have attached a log file from the session that I have experienced this issue
required: true
required: true
10 changes: 10 additions & 0 deletions .github/config/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'1.16':
- '1\.16(?:\.\d)?'
'1.17':
- '1\.17(?:\.\d)?'
'1.18':
- '1\.18(?:\.\d)?'
'1.19':
- '1\.19(?:\.\d)?'
'1.20':
- '1\.20(?:\.\d)?'
14 changes: 14 additions & 0 deletions .github/workflows/label_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Label Issues"
on:
issues:
types: [opened, edited]

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
configuration-path: .github/config/labels.yml
enable-versioned-regex: 0
repo-token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 6 additions & 6 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
java-version: 17
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Get date
run: echo "DATE=$(date --rfc-3339=date)" >> ${GITHUB_ENV}
- name: Set Version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> ${GITHUB_ENV}
- name: Set Minecraft Version
run: echo "MINECRAFT_VERSION=${GITHUB_REF##*/}" >> ${GITHUB_ENV}
- name: Build jar
run: ./gradlew build
env:
Expand All @@ -33,6 +33,6 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
title: Alpha Release ${{env.MINECRAFT_VERSION}}-${{env.RELEASE_VERSION}}
title: Alpha Release ${{env.RELEASE_VERSION}}
files: |
build/libs/*
12 changes: 6 additions & 6 deletions .github/workflows/publish_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
java-version: 17
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Get date
run: echo "DATE=$(date --rfc-3339=date)" >> ${GITHUB_ENV}
- name: Set Version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> ${GITHUB_ENV}
- name: Set Minecraft Version
run: echo "MINECRAFT_VERSION=${GITHUB_REF##*/}" >> ${GITHUB_ENV}
- name: Build jar
run: ./gradlew build
env:
Expand All @@ -33,6 +33,6 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
title: Beta Release ${{env.MINECRAFT_VERSION}}-${{env.RELEASE_VERSION}}
title: Beta Release ${{env.RELEASE_VERSION}}
files: |
build/libs/*
8 changes: 5 additions & 3 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
java-version: 17
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Get date
Expand Down
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,20 @@ repositories {
def build_snapshot = System.getenv("BUILD_SNAPSHOT") == "true"
def build_id = System.getenv("BUILD_ID")

version = '2.1.12-1.18.2'
version = '2.1.13-1.18.2'

if (build_snapshot) {
version += '-SNAPSHOT'
}
if (build_id != null) {
// get last two parts of build id
def split = build_id.split('-')
if (split.length >= 2) {
def build_id_last = split[split.length - 1]
def build_id_second = split[split.length - 2]
build_id = build_id_second + "-" + build_id_last
}

version += "+build.${build_id}"
}

Expand Down Expand Up @@ -153,7 +161,7 @@ jar {
attributes([
"Specification-Title": "iceandfire",
"Specification-Vendor": "alexthe667",
"Specification-Version": "2.1.11", // We are version 1 of ourselves
"Specification-Version": "2.1.13", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Vendor" :"alexthe667",
Expand Down
12 changes: 5 additions & 7 deletions src/main/java/com/github/alexthe666/iceandfire/IceAndFire.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.github.alexthe666.iceandfire.block.IafBlockRegistry;
import com.github.alexthe666.iceandfire.client.ClientProxy;
import com.github.alexthe666.iceandfire.config.ConfigHolder;
import com.github.alexthe666.iceandfire.datagen.DataGenerators;
import com.github.alexthe666.iceandfire.entity.IafEntityRegistry;
import com.github.alexthe666.iceandfire.entity.IafVillagerRegistry;
import com.github.alexthe666.iceandfire.entity.tile.IafTileEntityRegistry;
Expand All @@ -13,6 +12,7 @@
import com.github.alexthe666.iceandfire.message.*;
import com.github.alexthe666.iceandfire.recipe.IafRecipeRegistry;
import com.github.alexthe666.iceandfire.recipe.IafRecipeSerializers;
import com.github.alexthe666.iceandfire.world.IafPlacementFilterRegistry;
import com.github.alexthe666.iceandfire.world.IafProcessors;
import com.github.alexthe666.iceandfire.world.IafWorldRegistry;
import net.minecraft.core.Registry;
Expand Down Expand Up @@ -83,9 +83,7 @@ public class IceAndFire {
channel = channel.clientAcceptedVersions(version::equals);
version = PROTOCOL_VERSION;
version.getClass();
NETWORK_WRAPPER = channel.serverAcceptedVersions(version::equals).networkProtocolVersion(() -> {
return PROTOCOL_VERSION;
}).simpleChannel();
NETWORK_WRAPPER = channel.serverAcceptedVersions(version::equals).networkProtocolVersion(() -> PROTOCOL_VERSION).simpleChannel();
}

public IceAndFire() {
Expand Down Expand Up @@ -115,10 +113,12 @@ public IceAndFire() {
IafBlockRegistry.BLOCKS.register(modBus);
IafEntityRegistry.ENTITIES.register(modBus);
IafTileEntityRegistry.TYPES.register(modBus);
IafPlacementFilterRegistry.PLACEMENT_MODIFIER_TYPES.register(modBus);
IafWorldRegistry.FEATURES.register(modBus);
IafWorldRegistry.STRUCTURES.register(modBus);
IafContainerRegistry.CONTAINERS.register(modBus);
IafRecipeSerializers.SERIALIZERS.register(modBus);
IafRecipeRegistry.RECIPE_TYPE.register(modBus);
IafProcessors.PROCESSORS.register(modBus);

IafVillagerRegistry.POI_TYPES.register(modBus);
Expand Down Expand Up @@ -213,9 +213,7 @@ private void setup(final FMLCommonSetupEvent event) {
}

private void setupClient(final FMLClientSetupEvent event) {
event.enqueueWork(() -> {
PROXY.clientInit();
});
event.enqueueWork(() -> PROXY.clientInit());
}

private void setupComplete(final FMLLoadCompleteEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private int getCookTime(int p_175381_1_) {
int j = 0;

List<DragonForgeRecipe> recipes = this.getMinecraft().level.getRecipeManager()
.getAllRecipesFor(IafRecipeRegistry.DRAGON_FORGE_TYPE)
.getAllRecipesFor(IafRecipeRegistry.DRAGON_FORGE_TYPE.get())
.stream().filter(item ->
item.isValidInput(tileFurnace.getSlot(0).getItem()) && item.isValidBlood(tileFurnace.getSlot(1).getItem())).collect(Collectors.toList());
int maxCookTime = recipes.isEmpty() ? 100 : recipes.get(0).getCookTime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ private static Item getItemByRegistryName(String registryName) {
@Override
protected void init() {
super.init();
this.clearWidgets();
this.indexButtons.clear();
int centerX = (width - X) / 2;
int centerY = (height - Y) / 2;
this.previousPage = new ChangePageButton(centerX + 15, centerY + 215, false, 0, (p_214132_1_) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ public void calculateChainFlapBufferHead(float maxAngle, int bufferTime, float a
this.prevYawVariation = this.yawVariation;

if (!compareDouble(entity.yHeadRotO, entity.yHeadRot) && Mth.abs(this.yawVariation) < maxAngle) {
this.yawVariation += Mth.clamp((entity.yHeadRot - entity.yHeadRotO) / divisor, -maxAngle, maxAngle);
if (entity instanceof IFlapable && Math.abs(entity.yHeadRot - entity.yHeadRotO) > 15D) {
this.yawVariation += Mth.clamp((entity.yHeadRotO - entity.yHeadRot) / divisor, -maxAngle, maxAngle);
if (entity instanceof IFlapable && Math.abs(entity.yHeadRotO - entity.yHeadRot) > 15D) {
((IFlapable) entity).flapWings();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private void addDescription(IRecipeRegistration registry, ItemStack itemStack) {

@Override
public void registerRecipes(IRecipeRegistration registry) {
List<DragonForgeRecipe> forgeRecipeList = Minecraft.getInstance().level.getRecipeManager().getAllRecipesFor(IafRecipeRegistry.DRAGON_FORGE_TYPE);
List<DragonForgeRecipe> forgeRecipeList = Minecraft.getInstance().level.getRecipeManager().getAllRecipesFor(IafRecipeRegistry.DRAGON_FORGE_TYPE.get());

List<DragonForgeRecipe> fire = forgeRecipeList.stream().filter(item -> item.getDragonType().equals("fire")).collect(Collectors.toList());
List<DragonForgeRecipe> ice = forgeRecipeList.stream().filter(item -> item.getDragonType().equals("ice")).collect(Collectors.toList());
Expand Down
Loading