workshop-coop / fop

Forest of Plenty Kids Day
0 stars 0 forks source link

Coder + Docker Template for Minecraft #1

Open hh opened 1 year ago

hh commented 1 year ago

Based loosely on the event for CloudNative Kids Day AmsterDam

https://hackmd.io/rHr0DSGpRnmlGzI1p-WzWw?view

Create a Docker Container + Terraform Template that can support this Minecraft Class

Arun putt together a modding Minecraft workshop. I suspect this will be the target of what we want to work with: https://github.com/AdityaGupta1/minecraft-modding-workshop-code

Here is the upstream material from DevOps for Kids: https://github.com/devoxx4kids/materials/tree/master/workshops/minecraft

Here is the Dutch Version: From nedelrand/material/minecraft :

hh commented 1 year ago

@ttothewiggy Please look at https://github.com/fcwu/docker-ubuntu-vnc-desktop#docker-ubuntu-vnc-desktop and show me how to access the Ubuntu desktop from a public URL.

We will likely use this as well to give your docker container with VNC a public url : https://github.com/cncf-infra/coder-templates/blob/main/docs/tunnel%2Bttyd%2Btmux.org#connect-tunnel-to-ttyd

hh commented 1 year ago

Looks like the @fcwu is using NoVNC to make a website to allow access to to x11vnc.

Let's figure out what is needed on your real Ubuntu box to get the Minecraft-modding-workshop-code working outside the container.

hh commented 1 year ago

This is a fairly recent NOVNC based on Ubuntu 22.04 : https://github.com/ConSol/docker-headless-vnc-container/

hh commented 1 year ago

Install Rancher Desktop (instead of Docker Desktop) and that should give you a worker docker / docker build. https://rancherdesktop.io

iiamabby commented 1 year ago

https://github.com/workshop-coop/kids-container a more up to date template that we have been working on but not the final version.

iiamabby commented 1 year ago

Currently have a playable version running on Ubuntu and Mac: net.minecraftforge:forge:1.19.4-45.0.23

Working on creating the world the kids will play in with some fun mods

Here's the documentation for modding in Java: https://docs.minecraftforge.net/en/1.19.x/concepts/registries/

ttothewiggy commented 1 year ago

Using the working version on Ubuntu, I've began creating mods though I can't figure out how to get them loaded into the game. Currently have a potential mod for stacking 64 potatoes and invisible blocks but I have no way to test them. (Abby has tested them and they don't work yet)

Also spent a while trying to get forge running on mac but getting an error when I run ./gradlew genEclipseRuns that reads:

startup failed: General error during conversion: Unsupported class file major version 64

Tried changing versions of Java but can't seem to figure it out.