Skip to content

Commit 418be36

Browse files
committed
aaerrmmmm
1 parent 40cccee commit 418be36

File tree

140 files changed

+1924
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+1924
-61
lines changed

.gitattributes

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
# Auto detect text files and perform LF normalization
2-
* text=auto
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ hs_err_*.log
3838
replay_*.log
3939
*.hprof
4040
*.jfr
41-
/src/main/generated/.cache

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

build.gradle

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'fabric-loom' version '1.7-SNAPSHOT'
2+
id 'fabric-loom' version '1.8-SNAPSHOT'
33
id 'maven-publish'
44
}
55

@@ -18,18 +18,6 @@ repositories {
1818
// for more information about repositories.
1919
}
2020

21-
loom {
22-
splitEnvironmentSourceSets()
23-
24-
mods {
25-
"poosmp" {
26-
sourceSet sourceSets.main
27-
sourceSet sourceSets.client
28-
}
29-
}
30-
31-
}
32-
3321
fabricApi {
3422
configureDataGeneration()
3523
}
@@ -42,6 +30,7 @@ dependencies {
4230

4331
// Fabric API. This is technically optional, but you probably want it anyway.
4432
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
33+
//modImplementation include("eu.pb4:sgui:1.6.0+1.21")
4534

4635
}
4736

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

pxz/bankers_table.pxz

6.86 KB
Binary file not shown.

src/client/resources/poosmp.client.mixins.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/main/java/embin/poosmp/PooSMPMod.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
import embin.poosmp.items.MobStickItem;
66
import embin.poosmp.items.PooSMPItems;
77
import embin.poosmp.util.ConvertNamespace;
8+
import embin.poosmp.util.TradeConstructors;
9+
import embin.poosmp.villager.PooSMPPoi;
10+
import embin.poosmp.villager.PooSMPVillagers;
811
import net.fabricmc.api.ModInitializer;
912

1013
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
@@ -87,6 +90,7 @@ public static void add_empty(ItemGroup.Entries entries, int amount) { // it dooo
8790
entries.add(PooSMPItems.VILLAGER_STICK);
8891
entries.add(PooSMPBlocks.SUS);
8992
entries.add(PooSMPBlocks.DDEDEDODEDIAMANTE_BLOCK);
93+
entries.add(PooSMPItems.COW_STICK);
9094
})).build();
9195

9296
public static final ItemGroup BIOME_STICKS = FabricItemGroup.builder()
@@ -127,6 +131,7 @@ public static void add_empty(ItemGroup.Entries entries, int amount) { // it dooo
127131
.icon(() -> new ItemStack(PooSMPItems.ONE_DOLLAR_BILL))
128132
.displayName(Text.literal("PooSMP: Money"))
129133
.entries((displayContext, entries) -> {
134+
entries.add(PooSMPBlocks.BANKERS_TABLE);
130135
entries.add(PooSMPItems.ONE_DOLLAR_BILL);
131136
entries.add(PooSMPItems.TWO_DOLLAR_BILL);
132137
entries.add(PooSMPItems.FIVE_DOLLAR_BILL);
@@ -152,6 +157,9 @@ public void onInitialize() {
152157
ItemGroupEvents.modifyEntriesEvent(ItemGroups.BUILDING_BLOCKS).register(entries -> {
153158
entries.addAfter(Items.RED_NETHER_BRICK_WALL, PooSMPBlocks.RED_NETHER_BRICK_FENCE.asItem());
154159
});
160+
PooSMPPoi.init();
161+
PooSMPVillagers.init();
162+
TradeConstructors.register_villager_trades();
155163
LOGGER.info("im all pooped up");
156164
}
157165
}
File renamed without changes.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package embin.poosmp.block;
2+
3+
import com.mojang.serialization.MapCodec;
4+
import net.minecraft.block.*;
5+
import net.minecraft.block.entity.BlockEntity;
6+
import net.minecraft.util.math.BlockPos;
7+
import org.jetbrains.annotations.Nullable;
8+
9+
@Deprecated
10+
public class ItemShopBlock extends BlockWithEntity implements BlockEntityProvider {
11+
public static final MapCodec<ItemShopBlock> CODEC = createCodec(ItemShopBlock::new);
12+
protected ItemShopBlock(Settings settings) {
13+
super(settings);
14+
}
15+
16+
@Override
17+
protected MapCodec<? extends BlockWithEntity> getCodec() {
18+
return CODEC;
19+
}
20+
21+
@Nullable
22+
@Override
23+
public BlockEntity createBlockEntity(BlockPos pos, BlockState state) {
24+
return null;
25+
}
26+
27+
@Override
28+
protected BlockRenderType getRenderType(BlockState state) {
29+
return BlockRenderType.MODEL;
30+
}
31+
}

0 commit comments

Comments
 (0)