update to 1.16.5
This commit is contained in:
parent
2ea888ecaa
commit
0ffbbd129b
2 changed files with 10 additions and 10 deletions
|
@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G
|
|||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
minecraft_version=1.16.4
|
||||
yarn_mappings=1.16.4+build.7
|
||||
loader_version=0.10.8
|
||||
minecraft_version=1.16.5
|
||||
yarn_mappings=1.16.5+build.5
|
||||
loader_version=0.11.2
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 0.1.6
|
||||
mod_version = 0.2.0.0-SNAPSHOT
|
||||
maven_group = pm.j4
|
||||
archives_base_name = kerosene
|
||||
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
fabric_version=0.28.1+1.16
|
||||
fabric_version=0.31.0+1.16
|
||||
|
|
|
@ -96,8 +96,8 @@ public class PModuleConfigurationWidget extends AlwaysSelectedEntryListWidget<PO
|
|||
}
|
||||
|
||||
@Override
|
||||
protected boolean isSelectedItem(int index) {
|
||||
return super.isSelectedItem(index);
|
||||
protected boolean isSelectedEntry(int index) {
|
||||
return super.isSelectedEntry(index);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -127,7 +127,7 @@ public class PModuleConfigurationWidget extends AlwaysSelectedEntryListWidget<PO
|
|||
|
||||
@Override
|
||||
protected void renderList(MatrixStack matrices, int x, int y, int mouseX, int mouseY, float delta) {
|
||||
int itemCount = this.getItemCount();
|
||||
int itemCount = this.getEntryCount();
|
||||
Tessellator t_1 = Tessellator.getInstance();
|
||||
BufferBuilder buffer = t_1.getBuffer();
|
||||
|
||||
|
@ -139,7 +139,7 @@ public class PModuleConfigurationWidget extends AlwaysSelectedEntryListWidget<PO
|
|||
POptionEntry entry = this.getEntry(index);
|
||||
int rowWidth = this.getRowWidth();
|
||||
int entryLeft;
|
||||
if (((EntryListWidgetAccessor) this).isRenderSelection() && this.isSelectedItem(index)) {
|
||||
if (((EntryListWidgetAccessor) this).isRenderSelection() && this.isSelectedEntry(index)) {
|
||||
entryLeft = getRowLeft() - 2 + entry.getXOffset();
|
||||
int selectionRight = x + rowWidth + 2;
|
||||
RenderSystem.disableTexture();
|
||||
|
@ -221,7 +221,7 @@ public class PModuleConfigurationWidget extends AlwaysSelectedEntryListWidget<PO
|
|||
x >= (double) getRowLeft() &&
|
||||
x <= (double) (getRowLeft() + getRowWidth()) &&
|
||||
index >= 0 && i >= 0 &&
|
||||
index < this.getItemCount() ? this.children().get(index) : null;
|
||||
index < this.getEntryCount() ? this.children().get(index) : null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue