Compare commits

...

8 commits

1703 changed files with 3584 additions and 31105 deletions

View file

@ -3,15 +3,14 @@
* Make good README.md stuff * Make good README.md stuff
=== STUFF TO ADD/FIX === === STUFF TO ADD/FIX ===
* Add slab and stair variations
* Add fences * Add fences
* Add windows * Add windows
* Add (with functionality) present appliance/furniture/electronics textures * Add (with functionality) present appliance/furniture/electronics textures
* Add achievement criterion for dice and advancements * Add advancements (with datagen)
* PO2 wall (fix)
* What's switch type 2? * What's switch type 2?
* All the lamps (lamp posts too!)
* Cigarette and handrail are BROKEN and the code is a MESS sorry, but it needs CLEANUP * Cigarette and handrail are BROKEN and the code is a MESS sorry, but it needs CLEANUP
* Concrete with bars should have proper hitbox, placeable upside down, and act like dripstone
* Fix post lamp hitboxes
=== ACHIEVEMENTS === === ACHIEVEMENTS ===
Kolkhoz warrior - kill a zombie, skeleton, creeper and spider with a sickle Kolkhoz warrior - kill a zombie, skeleton, creeper and spider with a sickle

View file

@ -1,18 +1,18 @@
aquamarine recipe * aquamarine recipe
whitewash recipe * whitewash recipe
concrete recipe * concrete recipe
concrete with bars recipe * concrete with bars recipe
parquet recipe * parquet recipe
linoleum recipe * linoleum recipe
metal plating recipe * metal plating recipe
crate recipe * crate recipe
po-2 recipe * po-2 recipe
no wallpaper recipes (intended?) * no wallpaper recipes (intended?)
no handrail recipe * no handrail recipe
no nutrient block recipe (intended? compressed bread?) * no nutrient block recipe (intended? compressed bread?)
light bulb recipe * light bulb recipe
sigarette recipe * cigarette recipe
siren recipe * siren recipe
no landmine recipe - intended * no landmine recipe - intended
switch recipe * switch recipe
checkers and chess recipe * checkers and chess recipe

View file

@ -6,7 +6,6 @@ import net.fabricmc.api.Environment;
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
import net.fabricmc.fabric.api.client.rendering.v1.BlockEntityRendererRegistry; import net.fabricmc.fabric.api.client.rendering.v1.BlockEntityRendererRegistry;
import net.minecraft.client.render.RenderLayer; import net.minecraft.client.render.RenderLayer;
import su.a71.new_soviet.entity.TVBlockEntity;
import su.a71.new_soviet.registration.NSE_Blocks; import su.a71.new_soviet.registration.NSE_Blocks;
import su.a71.new_soviet.registration.NSE_Custom; import su.a71.new_soviet.registration.NSE_Custom;

View file

@ -4,31 +4,23 @@ import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment; import net.fabricmc.api.Environment;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.SignBlock; import net.minecraft.block.SignBlock;
import net.minecraft.block.entity.SignText;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.font.TextRenderer; import net.minecraft.client.font.TextRenderer;
import net.minecraft.client.render.VertexConsumerProvider; import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.block.entity.BlockEntityRenderer; import net.minecraft.client.render.block.entity.BlockEntityRenderer;
import net.minecraft.client.render.block.entity.BlockEntityRendererFactory; import net.minecraft.client.render.block.entity.BlockEntityRendererFactory;
import net.minecraft.client.render.block.entity.SignBlockEntityRenderer;
import net.minecraft.client.util.math.MatrixStack; import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.text.OrderedText;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.RotationAxis; import net.minecraft.util.math.RotationAxis;
import net.minecraft.util.math.Vec3d; import net.minecraft.util.math.Vec3d;
import org.joml.Matrix4f; import su.a71.new_soviet.entities.TVBlockEntity;
import su.a71.new_soviet.entity.TVBlockEntity;
import java.util.List;
@Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)
public class TVBlockEntityRenderer implements BlockEntityRenderer<TVBlockEntity> { public class TVBlockEntityRenderer implements BlockEntityRenderer<TVBlockEntity> {
private static TextRenderer textRenderer; // private static TextRenderer textRenderer;
private static final Vec3d TEXT_OFFSET = new Vec3d(0.0, 0.3333333432674408, 0.046666666865348816); private static final Vec3d TEXT_OFFSET = new Vec3d(0.0, 0.3333333432674408, 0.046666666865348816);
public TVBlockEntityRenderer(BlockEntityRendererFactory.Context ctx) { public TVBlockEntityRenderer(BlockEntityRendererFactory.Context ctx) {
textRenderer = ctx.getTextRenderer(); // textRenderer = ctx.getTextRenderer();
} }
@Override @Override

Some files were not shown because too many files have changed in this diff Show more