Modular Multiobjective (Hyper) Neuro-Evolution of Augmenting Topologies + MAP-Elites: Java code for evolving intelligent agents in Ms. Pac-Man, Tetris, and more, as well as code for Procedural Content Generation in Mario, Zelda, Minecraft, and more!
In the package edu.southwestern.tasks.evocraft.MinecraftClient.BlockType add the classes UndroppableBlockSet and AllBlocksBlockSet which both implement BlockSet.
Also, in the constructor of MinecraftShapeTask, use a command line parameter called "minecraftBlockSet" (which you will need to create with a default value of the machine block set) to specify the value of the blockSet variable instead of hardcoding to be MachineBlockSet.
See the other code in this constructor that uses ClassCreation.createObject for guidance.
In the package
edu.southwestern.tasks.evocraft.MinecraftClient.BlockType
add the classesUndroppableBlockSet
andAllBlocksBlockSet
which both implementBlockSet
.Also, in the constructor of
MinecraftShapeTask
, use a command line parameter called"minecraftBlockSet"
(which you will need to create with a default value of the machine block set) to specify the value of theblockSet
variable instead of hardcoding to beMachineBlockSet
.See the other code in this constructor that uses
ClassCreation.createObject
for guidance.